https://github.com/pumpkinseed/ethock
Lightweight Ethereum JSON RPC Mock written in Rust
https://github.com/pumpkinseed/ethock
cryptocurrency ethereum json mock rpc
Last synced: 7 months ago
JSON representation
Lightweight Ethereum JSON RPC Mock written in Rust
- Host: GitHub
- URL: https://github.com/pumpkinseed/ethock
- Owner: PumpkinSeed
- License: apache-2.0
- Created: 2021-01-31T09:54:19.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-02-11T13:24:18.000Z (over 4 years ago)
- Last Synced: 2025-04-01T22:01:53.917Z (7 months ago)
- Topics: cryptocurrency, ethereum, json, mock, rpc
- Language: Rust
- Homepage:
- Size: 31.3 KB
- Stars: 8
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ethock - Ethereum Mock
Lightweight Ethereum JSON RPC Mock written in Rust
### Usage
```
ethock_lib = "x.x.x"
``````rust
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();
}
```