Skip to content

PumpkinSeed/ethock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ethock - Ethereum Mock

Lightweight Ethereum JSON RPC Mock written in Rust

Usage

ethock_lib = "x.x.x"
fn main() {
    // Serve in blocking mode
    ethock_lib::server::Entry::new("localhost:8545").serve();

    // Serve in non-blocking mode
    ethock_lib::server::Entry::new("localhost:8545").serve_silent();
}