umbracle/ethgo

Add how to deploy a contract to the readme

ControlCplusControlV opened this issue · 1 comments

Close this if you feel like it, but I think a lot of people would benefit from seeing how a basic contract deployment would work to a connected web3 provider. Reading through the library it is hard to understand how to deploy a contract from json abi ([{"payable": true,"stateMutability": "payable","type": "fallback"}])and bytecode, being able to do so would be hugely helpful to people like me hoping to use something like Yul or Fe. Would appreciate generating abi atleast, as I am unable to call the deploy contract method without it.

Hi! Ethgo has a website now (https://ethgo.dev) and it includes a section on how to interact with contracts. You also have the abigen in the new Cli available to deploy them.