Getting Started

Chorus One SDK

The Chorus One SDK is a all-in-one toolkit for building staking dApps. It supports non-custodial staking on networks validated by Chorus One, including Ethereum, Solana, TON, Avalanche, Cosmos, NEAR, and Polkadot. With this SDK, you can build, sign, and broadcast transactions as well as retrieve staking information and rewards for user accounts.

Why Choose the Chorus One SDK?

At Chorus One, we prioritize security, transparency, and user control in our staking solutions. Our choice to use a Software Development Kit (SDK) for staking integration reflects this commitment, offering several key advantages over traditional Application Programming Interfaces (APIs).

Enhanced Security and Decentralization

One of the core principles of crypto is "Don't trust, verify." This ethos is crucial in staking operations, where trustless environments and robust security are paramount.

Local Transaction Signing: The Chorus One SDK allows users to generate and sign transactions locally on their own devices. This means critical operations - staking, unstaking, delegation, and reward withdrawals - are securely performed without exposing private keys to external environments.

Reduced Risk of Exposure: By keeping private keys within the user’s environment, the risk of exposure to malicious actors is significantly minimized.

Verifiable Trust and Transparency

Using an API for staking can sometimes introduce concerns about transparency and control. With an SDK, these concerns are addressed head-on:

Direct Verification: Users can directly specify and verify the validator addresses they interact with, ensuring transparency and control over staking activities. This aligns with the decentralization ethos of blockchain technology, empowering users to manage their staking operations confidently.

Elimination of External Dependencies: The SDK approach removes potential attack vectors associated with relying on external APIs for critical operations. Users retain full control and can independently confirm all actions taken, enhancing overall trust and security.

Open-Source and Auditable

Open-Source Code: The Chorus One SDK is open-source, allowing users and developers to review, audit, and contribute to the codebase. This openness ensures that the SDK is transparent and trustworthy. You can access and review the code on our GitHub repository.

Why does it matter?

Choosing the Chorus One SDK means prioritizing security, transparency, and user empowerment. With local transaction building and signing, and open-source transparency, users can confidently participate in staking activities across supported networks.

Key Features

  • Comprehensive Transaction Management:

    The Chorus One SDK offers a robust suite of tools for managing staking operations on a variety of networks.

    Users can seamlessly build, sign, and broadcast transactions for staking, unstaking, delegation, and reward withdrawal.

  • Detailed Information Retrieval:

    Our SDK provides users with the ability to fetch detailed staking information and reward data for any account. This transparency ensures that the user has access to all the information they need to make informed decisions about their staking activities.

  • Flexible Custody Solutions:

    Our SDK supports a variety of custody options, including mobile wallets, browser extensions, hardware wallets, and custom custodial solutions like Fireblocks.

    This flexibility ensures that the user can choose the solution that best fits their security and operational requirements.

  • Fireblocks Integration:

    For users who prefer a convenient custodial solution, the Chorus One SDK provides easy-to-use tools for securely signing transactions with Fireblocks across supported blockchain networks. This integration ensures a smooth and secure staking experience.

  • Integrated Validator Support:

    The SDK includes built-in support for Chorus One validators across all supported blockchain networks. Additionally, it allows users to specify their own validator addresses, providing a customizable staking experience.

  • CLI:

    The SDK includes a Command Line Interface (CLI) for easy interaction with the SDK and supported networks. This feature simplifies operations, making it accessible for users who prefer command line tools for managing their staking activities.

Our SDK offers users the freedom to stake with any validator they choose. This flexibility ensures a personalized staking experience and enhances user control over their staking activities.

Modules Overview

Supported Networks

Supported Signers (Custody Solutions)

Command Line Interface (CLI)

Installation

The Chorus One SDK is available as a set of npm packages and supports both Node.js and browser environments.

  • Please ensure you have Node.js (v20) installed on your machine.

To install the SDK, run some of the following commands depending on your setup:

Example Usage

Here is a basic example of how to use the Chorus One SDK to build, sign, and broadcast a staking transaction using Fireblocks as the signer.

Next Steps

To help you get started with specific blockchain networks, please check out the detailed guides for each supported chain below.

Last updated

Was this helpful?