4 releases

0.1.4 Nov 12, 2024
0.1.3 Nov 6, 2024
0.1.2 Oct 29, 2024
0.1.1 Oct 22, 2024

#855 in Magic Beans

Download history 132/week @ 2024-10-20 128/week @ 2024-10-27 146/week @ 2024-11-03 119/week @ 2024-11-10 15/week @ 2024-11-17

416 downloads per month

GPL-3.0 license

125KB
2K SLoC

EVM Testnet

Tool to run a local Ethereum node that automatically deploys all Autonomi smart contracts.

Requirements

  1. Install Foundry to get access to Anvil nodes: https://book.getfoundry.sh/getting-started/installation

Usage

cargo run --bin evm_testnet -- --genesis-wallet <ETHEREUM_ADDRESS>

Example output:

*************************
* Ethereum node started *
*************************
RPC URL: http://localhost:60093/
Payment token address: 0x5FbDB2315678afecb367f032d93F642f64180aa3
Chunk payments address: 0x8464135c8F25Da09e49BC8782676a84730C318bC
Deployer wallet private key: 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
Genesis wallet balance: (tokens: 20000000000000000000000000, gas: 9998998011366954730202)

Dependencies

~45–61MB
~1M SLoC