8000 GitHub - dave/toucan-bridge: Toucan - Regen Ledger bridge smart contracts
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

dave/toucan-bridge

 
 

Repository files navigation

Toucan Bridge

Smart contracts for Toucan (Polygon) - Regen bridge.

Summary

Regen Ledger is a blockchain dedicated for Earth sustainability and Regenerative Finance. Regen Ledger provides a registry for all type of eco credits. Vintages are represented as batches and grouped into credit classes.

Toucan is a digitized carbon registry implemented on Polygon blockchain. The carbon vintages are implemented as ERC20 smart contracts, called TCO2.

This repository provides smart contracts for a one way bridge from TCO2 carbon credits to Regen Ledger Eco Credits Batches. In parallel we are working for a fully decentralized 2-way bridge.

Functionality

  • burning TCO2 whitelisted tokens and issuing bridge events.

(TODO, more description will come)

Setup

Dependencies

  • node > 16.0

Installation

git submodule update --init --recursive
yarn

To update the submodule to its latest version

git submodule update --remote --merge

Contributing

  • get some Polygon Mumbai testnet tokens from faucet.

Build

yarn build

Deploy bridge

yarn hardhat run scripts/toucan-bridge.js --network <network>

License

See the LICENSE file.

About

Toucan - Regen Ledger bridge smart contracts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 72.4%
  • Solidity 27.2%
  • Shell 0.4%
0