Skip to content

curio-research/gevm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gevm

in-memory blockchain, with custom RPC and headers that persists state via PebbleDB.

multiplication example

./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.

token example

create token contract mint a token transfer the toke

cd examples/token && go run main.go

precompile example

create weather contract call precompile function

cd examples/precompile && go run main.go

upsert example

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

About

Geth in it's purest and most lightweight form

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published