An approximate introduction to how zk-SNARKs are possible
An approximate introduction to how zk-SNARKs are possible zk-SNARKs ("zero knowledge succinct arguments of knowledge"). A zk-SNARK allows you to generate a proof that some computation has some particular output, in such a way that the proof can be verified extremely quickly even if the underlying computation takes a very long time to run. The "ZK" ("zero knowledge") part adds an additional feature: the proof can keep some of the inputs to the computation hidden. In the context of blockchain...
Read post
Smart Contract Vocabulary
Smart Contract Vocabulary elaborate planned or carried out with great care rigorous extremely thorough and careful. cornerstone a basic element : foundation a cornerstone of foreign policy. defect an imperfection or abnormality that impairs quality, function, or utility intentionally in an intentional manner : with awareness of what one is doing : PURPOSELY Crucially very importantly artifact an object, such as a tool, that was made in the past: lapse a brief or temporary failure o...
Read post
9. King /Ethernaut-Solution
9. King https://www.kingoftheether.com/thrones/kingoftheether/index.html // SPDX-License-Identifier: MIT pragma solidity ^0.6.0; contract King { //we have three instance address payable king; uint public prize; address payable public owner; constructor() public payable { owner = msg.sender; king = msg.sender; prize = msg.value; } receive() external payable { //external payable is to send ether, //Its gonna hit receive cuz that's what's going to catch it there is no fallback here, so receive...
Read post
Vimを改造したくなったからneovimを導入して使ってみる
Vimを改造したくなったからneovimを導入して使ってみる 9/May/2022 reference neovim dein 導入 =>https://gakogako.com/neovim-install/ vim-plug導入 =>https://note.com/histone/n/na8ebb8a5909f neovim dein 実践 => https://zenn.dev/nazo6/scraps/7627369b570548 motivation 結局、.vimrcで設定しないと dein.vim も vim-plug も起動しない。 前回設定したvimを壊してみる .vimrcのreset (怖い) でもneovimを使いたい! init.vimがneovimの主な設定になる neovim installしてみる brew install neovim ~ git:(main) ✗ nvim -version NVIM v0.7.0 Build type: Release LuaJIT 2.1.0-beta3 Com...
Read post