Crates.io | walletd_ethereum |
lib.rs | walletd_ethereum |
version | 0.2.0 |
source | src |
created_at | 2023-04-20 16:27:34.420661 |
updated_at | 2023-05-15 09:50:15.356125 |
description | Ethereum walletd library |
homepage | https://walletd.org/ |
repository | https://github.com/walletd/walletd |
max_upload_size | |
id | 844595 |
size | 151,155 |
For "local" examples, the examples require an instance of Ganache-CLI to be running. For "remote" examples, the examples expect a .env file with "INFURA_KEY" to be set. (this is still todo. See issue #74)
To get all examples to line up with ganache-cli, instantiate ganache-cli with the following command:
ganache-cli -b 3 -m "mandate rude write gather vivid inform leg swift usual early bamboo element"
To run examples, you can run all of them
cargo test --examples
You can also run specific examples by name
cargo run --example get_accounts_and_balances