Blockchain Wallet • When users create a wallet such as MetaMask, an address of 0xabc.... is created. • This address is required on Ethereum https://metamask.io/
Address • Calculate hash value of public key with Keccak256 • Public key = K, last 20bytes of Keccak256(K) • Returns with 0x; 42 characters (40 without 0x)
Ethereum Signatures • ECDSA (Eliptic Curve Digital Signature Algorithm) • This is used for three purposes 1. proof of authorization to make ETH payments or execute smart contracts 2. proof that the signature is non-repudiation 3. proof that no one has modi fi ed the transaction data since it was signed https://ethereum.org/en/developers/docs/transactions/
Conclusion • Ethereum Blockchain Overview • How Ethereum Addresses Work and EIP • Overview of ethereum signatures • About executing smart contracts using eth.rb
Future of eth.rb • Language diversity is important so that Ruby can also connect with the Ethereum world! • More examples of creating DApps with Ruby and Rails • Make it easy to connect to existing Rails applications
Acknowledgements • @ethmarek • He brought me into the world of Ethereum.rb • @q9f • He promotes and maintains the eth.rb project with us • GMO Pepabo Web3 Development Team • RubyKaigi staff, organizers, committers and attendees