Trying to explore web3 using rust.
Create a .env
file and enter the api key from Infura and the eth account number excluding the 0x
and the project secret in the fromat specifed in the .env.example file.
To compile the project, run
cargo build
To execute the project, run
cargo run
Note while compiling/running for the first time, it will take time, because cargo will compile the all libraries used during the first compile. Next run wont take time.