Regen Network
Published in

Regen Network

Bringing full ecocredit lifecycles on-chain with Regen Ledger v4.0

Announcing the largest release since Regen Ledger’s launch

Adding Marketplace Functionality to the Eco-Credit Module

Adding Marketplace Functionality to the Ecocredit Module

The ecocredit module includes a new marketplace submodule that makes it possible to create sell orders for ecocredits, and to perform direct buy orders against those sell orders. When a sell order is created in the simple storefront model, the ecocredits being sold are held in escrow. The default behavior is to have ecocredits auto-retired upon sale, but the seller has the option to disable auto-retirement. When a sell order has auto-retirement disabled, the buyer can choose to receive the purchased ecocredits in a retired or tradable state.

Updating the Eco-Credit Module to Support On-Chain Projects

Updating the Ecocredit Module to Support On-Chain Projects

On-the-ground projects providing ecosystem services will now be represented as on-chain entities using a Project ID on Regen Ledger. In this initial implementation, a Credit Class Issuer can assign a Project ID to a project that is enrolled within a specific Credit Class. When a Project ID is created, the Credit Class Issuer is established as the initial Project ID Admin, which can be reassigned to the $REGEN wallet address of the project team.

Credit Batch Denoms

Adding support for on-chain Project IDs required updating the format of the Credit Batch denom to include the Project ID. The Credit Batch denom was previously formatted to include the Credit Type abbreviation, the Credit Class ID, the start and end dates for the monitoring period, and the Credit Batch sequence number scoped to the Credit Class. The Credit Batch denom is now formatted to include the Project ID, and the Credit Batch sequence number is now scoped to the Project ID.

Adding Ecological Data Services

Adding Ecological Data Services

The first version of the Data Module supports the ability to anchor data on Regen Ledger, attest to the veracity of anchored data, to define a data resolver and register anchored data to that resolver. Anchoring data (also known as “secure timestamping”) does not store the data on-chain, but rather stores a content hash of the data alongside a timestamp that represents the time at which the data was anchored. If the data is altered in any way, the content hash will be different and the data will need to be anchored again as a separate entry.

Minting and Bridging Cross-Chain Credits

Minting and Bridging Cross-Chain Credits

Over the past few months, Regen Network Development Inc. has been working alongside the Toucan engineering team to develop a bridge service that will enable bridging ecocredits to/from the Polygon blockchain to Regen Ledger. The initial use case of the bridge service will be to bridge Toucan’s TCO2 tokens to Regen Ledger to establish a market for NCT, Nature Carbon Ton, in the Cosmos ecosystem, a digital carbon standard that was co-designed by Moss.Earth, Regen Network, and Toucan.

Migrating Ecocredit and Data Module to a New and Improved Storage Model (ORM)

Regen Ledger v4.0 makes use of an ORM storage model implemented within the ORM module within Cosmos SDK that acts as an abstraction layer over the existing KV store. The ORM module enables the creation of database tables with primary and secondary keys. The ORM module’s abstraction layer provides support for efficient lookups and will improve the velocity of future feature development on Regen Ledger.

Improved API Naming

Regen Ledger v4.0 includes a significant number of minor API changes intended to provide more consistent naming throughout the API and to provide an overall better user experience. The API is defined in proto files that are now available on Buf Schema Registry.

Experimental Build: The Group Module

Experimental Builds

Group Module
The experimental build on Hambach testnet includes an earlier version of the Group Module before it migrated to Cosmos SDK. This has since been updated and included in Cosmos SDK v0.46 (released but Regen Ledger v4.0 is still using Cosmos SDK v0.45). The Group Module allows for the creation and management of on-chain multisignature accounts and enables voting for message execution based on configurable decision policies.

Regen Ledger 4.0: Takeaways


As the largest release since Regen Ledger’s launch, we’re proud of the effort and significant progress that this represents. We covered huge ground by bringing the full ecocredit cycle onto Regen Ledger, and by paving the way for new sources of ecocredit supply with the bridge functionality. At the same time, we’re already looking to the future. Going forward, we’d like to focus on smaller, more iterative software release cycles.



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Regen Network

A blockchain network of ecological knowledge changing the economics of regenerative agriculture to reverse global warming.