Toucan Documentation
  • 🌱Introduction
    • Welcome to Toucan
    • Legal Disclaimer
  • 🌏Toucan
    • Bridging
      • Puro Carbon Bridge
        • Tokenization
        • Detokenization
    • Carbon Pools
      • How a Carbon Pool Works
      • Benefits of Pools
      • CHAR Carbon Pool
      • How to Buy CHAR
      • Deposits and Redemptions
    • Carbon Retirements
  • 🌿RESOURCES
    • Web3 concepts
    • Carbon markets
      • Carbon credits
    • Frequently asked questions
      • How do I use the Carbon Bridge?
      • How can one carbon pool token, like CHAR, represent one tonne of carbon?
      • Can I retire carbon pool tokens, like CHAR, to offset my emissions?
      • Where can I find the addresses of CHAR or other contracts?
      • How long does it take to bridge carbon credits?
      • What happens to a pool token if it is bridged to another network?
      • FAQ for transition to Open Source
    • Archives
      • Verra Bridge [Deprecated]
      • Pool Acceptance Criteria: NCT, BCT
      • NCT Pool Report
    • Audits
  • 💻Developers
    • Toucan for developers
    • Smart contracts
      • Carbon pool contracts
      • TCO2 contracts
      • Retirement certificates
      • OffsetHelper
    • Subgraphs
    • Toucan SDK
      • Quickstart
      • Contract interactions
      • Subgraph interactions
    • Tools + examples
      • Integration examples
      • Testnet faucets
      • Dune dashboard
    • Developer support
      • Error codes
Powered by GitBook
On this page
  • Installation
  • Next Steps

Was this helpful?

  1. Developers

Toucan SDK

PreviousSubgraphsNextQuickstart

Last updated 11 months ago

Was this helpful?

The Toucan SDK allows developers to build using Toucan's infrastructure tools on and . It provides a set of functions that allow developers to interact with Toucan Protocol's smart contracts and subgraphs using JavaScript. The SDK was built with Typescript and wraps around .

The Toucan SDK works in web browsers and Node.js applications.

Installation

npm i toucan-sdk

or

yarn add toucan-sdk

Next Steps

  • For simple & quick offsetting use the

  • If you want to retire carbon credits from a specific project, you can use the and then the function.

💻
Celo
Polygon
Ethers.js
Set up the Toucan Client
OffsetHelper functions
redeemMany
retire