https://github.com/sec-bit/mfer-node
An Ethereum transaction simulator based on go-ethereum
https://github.com/sec-bit/mfer-node
Last synced: 12 months ago
JSON representation
An Ethereum transaction simulator based on go-ethereum
- Host: GitHub
- URL: https://github.com/sec-bit/mfer-node
- Owner: sec-bit
- Created: 2022-07-27T10:53:47.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-09-01T08:08:20.000Z (almost 3 years ago)
- Last Synced: 2024-06-21T03:12:18.037Z (about 2 years ago)
- Language: Go
- Homepage:
- Size: 326 KB
- Stars: 6
- Watchers: 5
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mfer-node
mfer-node is an Ethereum transaction simulator based on go-ethereum.
## What can mfer-node do
* Provide a standard web3 rpc like geth provides, so you can use a wallet to connect to it.
* Connect to most of Ethereum web3 rpc and fork the network.
* Detect missing state and re-fork at latest block heigh automaticlly.
* Local mempool to keep state mutation.
* Block pinning by adding a postfix `@height`
* Trace blocks by specific range (Optimised for L2).
* Auto merge batch request so you can even use a public RPC to get a good trace performance.
# Build Instructions
On host:
```bash
go mod download
go build -o mfer-node ./cmd/mfer-node
```
or use Docker:
```bash
docker build -t local/mfer-node:latest -f Dockerfile .
docker run -d -p 8545:8545 -p 10545:10545 local/mfer-node mfer-node --upstream https://rpc.ankr.com/eth
```
or via docker-compose:
```bash
docker-compose up -d
```
# Usage
```bash
mfer-node --help
```
to get all the available commands.