Reference Implementations
If you're considering developing a Rosetta implementation and don't know where to start or just looking to play around with Rosetta, check out our Rosetta reference implementations!
rosetta-bitcoin
rosetta-bitcoin
provides a reference implementation of the Rosetta API for
Bitcoin in Golang. You can read more about rosetta-bitcoin
in the launch blog post.
Features
- Rosetta API implementation (both Data API and Construction API)
- UTXO cache for all accounts (accessible using
/account/balance
) - Stateless, offline, curve-based transaction construction from any SegWit-Bech32 Address
rosetta-ethereum
rosetta-ethereum
provides a reference implementation of the Rosetta API for
Ethereum in Golang. You can read more about rosetta-ethereum
in the launch blog post.
Features
- Comprehensive tracking of all ETH balance changes
- Stateless, offline, curve-based transaction construction (with address checksum validation)
- Atomic balance lookups using go-ethereum's GraphQL Endpoint
- Idempotent access to all transaction traces and receipts
You can find a collection of community-driven implementations on the community site.