Go SDK to create and interact with Rosetta API implementations
The rosetta-sdk-go
provides a collection of packages used for interaction
with the Rosetta API specification. Much of the code in this repository is
generated from the rosetta-specifications.
Before diving into the SDK, we recommend taking a look at the Rosetta API Docs:
- Types: Auto-generated Rosetta types
- Client: Low-level communication with any Rosetta server
- Server: Simplified Rosetta API server development
- Asserter: Validation of Rosetta types
- Fetcher: Simplified and validated communication with any Rosetta server
- Parser: Tool for parsing Rosetta blocks
- Syncer: Sync Rosetta blocks with customizable handling
- Reconciler: Compare derived balances with node balances
- Keys: Cryptographic operations for Rosetta-supported curves
- Constructor: Coordinate the construction and broadcast of transactions
The packages listed above are demoed extensively in examples and are utilized throughout the rosetta-cli.
make deps
to install dependenciesmake gen
to generate types and helpersmake test
to run testsmake lint
to lint the source code (including generated code)make release
to check if code passes all tests run by CircleCI
This project is available open source under the terms of the Apache 2.0 License.
© 2020 Coinbase