Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/regen-network/regen-ledger/x/ecocredit/v3

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/regen-network/regen-ledger/x/ecocredit/v3

  • v3.3.1
  • Source
  • Go
  • Socket score

Version published
Created
Source

Ecocredit Module

::: tip Now Available The first version of the ecocredit module was made available in Regen Ledger v2.0. :::

The following documentation provides a technical overview of the ecocredit module and is designed for developers building tools and services that interact with Regen Ledger.

For more information about specific ecosystem service credits and methodologies being issued and developed through the Regen Registry Program, please see Regen Registry Library.

Overview

The ecocredit module is divided into three separate components, including "base functionality" and two submodules, the "basket submodule" and the "marketplace submodule".

Base Functionality

::: tip Now Available The base functionality was made available in Regen Ledger v2.0. Added support for projects was made available in Regen Ledger v4.0. :::

The base functionality of the ecocredit module enables the creation and management of credit types, credit classes, and projects, as well as the issuance, transferring, and retirement of ecosystem service credits (i.e. carbon credits, biodiversity credits, soil health credits, etc.).

Credit classes are designed to support a variety of ecosystem service credits, and can be created and managed by individuals, groups, or organizations. Each credit class is associated with a credit type that represents the primary unit of measurement for the methodologies defined within the credit class (i.e. carbon, biodiversity, etc.). Credit types can only be added through on-chain governance.

Ecosystem service credits are issued through a batch issuance process where only approved issuers for a given credit class can issue credits from that credit class. Each credit batch is associated with a project representing the on-the-ground project implementing the methodologies defined within the credit class. Credit batches are unique in that each credit batch has a start and end date representing the period in which the positive ecological outcomes were measured.

Credits issued within a credit batch are only fungible with credits from the same batch. Credits can be issued in a tradable or retired state. Credits issued in a tradable state can be transferred or retired by the owner. Retiring a credit is permanent and implies the credit is being consumed as an offset.

Basket Submodule

::: tip Now Available The basket submodule was made available in Regen Ledger v3.0. :::

The basket submodule enables the creation and management of baskets. Ecosystem service credits that meet a specific criteria defined by a basket can be put into the basket in return for tokens that are fully fungible with other tokens from the same basket. Basket tokens are minted using the bank module from Cosmos SDK and are therefore compatible with IBC, allowing ecosystem service credits to be represented as tokens that are transferable across blockchains. Ecosystem service credits can then be taken out of the basket upon returning the tokens to the basket.

Marketplace Submodule

::: tip Now Available The marketplace submodule was made available in Regen Ledger v4.0. :::

The marketplace submodule enables the creation and management of sell orders for ecosystem service credits and the purchasing of those credits through direct buy orders. Credits can only be listed for approved token denoms that are managed through an on-chain governance process. The credits for each sell order are held in escrow until the sell order either expires, is cancelled by the owner, or purchased via a direct buy order. The owner of a sell order can update or cancel the sell order at any time.

Contents

  1. Concepts
  2. State
  3. Msg Service
  4. Query Service
  5. Events
  6. Types
  7. Client

RFCs

Protobuf

For a complete list of the Protobuf definitions, see the following documentation:

FAQs

Package last updated on 08 Jun 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc