Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 550 Bytes

README.md

File metadata and controls

19 lines (11 loc) · 550 Bytes

Basic Rust Web3 example

A simple implementation for web3 crate of rust. It query the blockchain node and gets you your approx. ether balance.

Blog with explanation: https://codetitan.hashnode.dev/rust-talk-to-the-ethereum-blockchain

To run the project:

Step 1: Make sure you have cargo and rust installed in your system

Step 2: Rename the .env.example to .env

Step 3: Insert your Infura Key for your network (Mainnet, Rinkeby, Ropsten, etc) and your ethereum account address in the .env file

Step 4: Run the project using

cargo run