4 releases

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

#769 in Magic Beans

Download history 137/week @ 2024-10-21 133/week @ 2024-10-28 145/week @ 2024-11-04

415 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