A Go service that monitors Ethereum blockchain transactions for subscribed addresses in real-time.
- Monitor Ethereum blockchain transactions
- Subscribe to specific Ethereum addresses
- Real-time block processing
- In-memory storage
- RESTful API endpoints
git clone https://github.com/bbogdan95/tx-parser
cd tx-parser
make deps
Start the server:
make run
The server will start on port 8080.
- Method: GET
- Endpoint:
/currentblock
- Method: POST
- Endpoint:
/subscribe
- Body:
{
"address": "{address}"
}
- Method: GET
- Endpoint:
/transactions?address={address}
make build
- Build the projectmake run
- Run the servicemake test
- Run testsmake lint
- Run lintermake clean
- Clean build filesmake deps
- Install dependenciesmake test-coverage
- Run tests with coverage reportmake update-deps
- Update dependencies
- Add configuration options
- Add integration tests on sepolia
- Add an endpoint to get all subscribed addresses
- Add a health check endpoint