in-memory blockchain, with custom RPC and headers that persists state via PebbleDB.
./run-sum
or
cd examples/sum && go run main.go
create new EVMContext. create new PebbleDB. create new StateDB. (statedb) set balances in stateDB.
create new EVM. create new Contract within EVM. call contract using evm.Call. check state after Call.
create token contract mint a token transfer the toke
cd examples/token && go run main.go
create weather contract call precompile function
cd examples/precompile && go run main.go
create a contract that has one function: to send ether to a designated addr call contract to an uninitialized addr verify upsert account
cd examples/upsert && go run main.go