Home

Awesome

<div align="center" style="font-size:20px"> <img alt="Issues" src="docs/.vuepress/public/regen-ledger.png" /> <h3> <i>A distributed ledger for ecological assets and data claims</i> </h3> </div> <br /> <div align="center"> <a href="https://github.com/regen-network/regen-ledger/blob/main/LICENSE"> <img alt="License" src="https://img.shields.io/badge/License-Apache%202.0-blue" /> </a> <a href="https://github.com/regen-network/regen-ledger/releases/latest"> <img alt="Version" src="https://img.shields.io/github/tag/regen-network/regen-ledger" /> </a> <a href="https://pkg.go.dev/github.com/regen-network/regen-ledger/v5"> <img alt="Go Doc" src="https://pkg.go.dev/badge/github.com/regen-network/regen-ledger/v5" /> </a> </div> <br /> <div align="center"> <a href="https://github.com/regen-network/regen-ledger/commits/actions/workflows/build.yml"> <img alt="Build Status" src="https://github.com/regen-network/regen-ledger/workflows/Build/badge.svg" /> </a> <a href="https://github.com/regen-network/regen-ledger/commits/actions/workflows/tests.yml"> <img alt="Test Status" src="https://github.com/regen-network/regen-ledger/workflows/Tests/badge.svg" /> </a> <a href="https://github.com/regen-network/regen-ledger/commits/actions/workflows/sims.yml"> <img alt="Sims Status" src="https://github.com/regen-network/regen-ledger/workflows/Sims/badge.svg" /> </a> <a href="https://github.com/regen-network/regen-ledger/commits/actions/workflows/lint.yml"> <img alt="Lint Status" src="https://github.com/regen-network/regen-ledger/workflows/Lint/badge.svg" /> </a> </div> <br /> <div align="center"> <a href="https://github.com/regen-network/regen-ledger/actions/workflows/proto-registry.yml"> <img alt="Proto Registry" src="https://github.com/regen-network/regen-ledger/workflows/Proto%20Registry/badge.svg" /> </a> <a href="https://github.com/regen-network/regen-ledger/actions/workflows/build-nightly.yml"> <img alt="Test Nightly Status" src="https://github.com/regen-network/regen-ledger/workflows/Build%20Nightly/badge.svg" /> </a> <a href="https://github.com/regen-network/regen-ledger/actions/workflows/sims-nightly.yml"> <img alt="Sims Nightly Status" src="https://github.com/regen-network/regen-ledger/workflows/Sims%20Nightly/badge.svg" /> </a> </div> <br /> <div align="center"> <a href="https://github.com/regen-network/regen-ledger/issues"> <img alt="Issues" src="https://img.shields.io/github/issues/regen-network/regen-ledger?color=blue" /> </a> <a href="https://github.com/regen-network/regen-ledger/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22"> <img alt="Good First Issues" src="https://img.shields.io/github/issues/regen-network/regen-ledger/good%20first%20issue?color=blue" /> </a> <a href="https://github.com/regen-network/regen-ledger/discussions"> <img alt="Discussions" src="https://img.shields.io/github/discussions/regen-network/regen-ledger?color=blue" /> </a> <a href="https://discord.gg/regen-network"> <img alt="Discord" src="https://img.shields.io/discord/684494798358315010?color=blue" /> </a> </div> <br /> <div align="center"> <a href="https://goreportcard.com/report/github.com/regen-network/regen-ledger"> <img alt="Go Report" src="https://goreportcard.com/badge/github.com/regen-network/regen-ledger" /> </a> <a href="https://codecov.io/gh/regen-network/regen-ledger"> <img alt="Code Coverage" src="https://codecov.io/gh/regen-network/regen-ledger/branch/main/graph/badge.svg" /> </a> </div> <br />

Introduction

Regen Ledger is a blockchain application for ecological assets and data claims built on top of Cosmos SDK and Tendermint Core. Leveraging these tools, Regen Ledger provides the infrastructure for a Proof-of-Stake blockchain network governed by a community dedicated to planetary regeneration.

Features specific to Regen Ledger are developed within this repository as custom modules that are then wired up to the main application. The custom modules developed within Regen Ledger follow the same architecture and pattern as modules developed within Cosmos SDK and other Cosmos SDK applications.

The core features that Regen Ledger aims to provide include the following:

Regen Ledger is under heavy development and as result the above features are implemented to varying degrees of completeness. For more information about our approach and vision, see Regen Ledger Specification.

Documentation

Documentation for Regen Ledger is hosted at docs.regen.network. This includes installation instructions for users and developers, information about live networks running Regen Ledger, instructions on how to interact with local and live networks, infrastructure and module-specific documentation, tutorials for users and developers, migration guides for developers, upgrade guides for validators, a complete list of available commands, and more.

Contributing

Contributions are more than welcome and greatly appreciated. All the information you need to get started should be available in Contributing Guidelines. Please take the time to read through the contributing guidelines before opening an issue or pull request. The following prerequisites and commands cover the basics.

Prerequisites

Go Tools

Install go tools:

make tools

Git Hooks

Configure git hooks:

git config core.hooksPath scripts/githooks

Lint and Format

Run linter in all go modules:

make lint

Run linter and attempt to fix errors in all go modules:

make lint-fix

Run formatting in all go modules:

make format

Run linter for all proto files:

make proto-lint

Run linter and attempt to fix errors for all proto files:

make proto-lint-fix

Run formatting for all proto files:

make proto-format

Running Tests

Run all unit and integrations tests:

make test

Manual Testing

Build the regen binary:

make build

View the available commands:

./build/regen help

Related Repositories

Sleeping in the Forest

I thought the earth remembered me,
she took me back so tenderly,
arranging her dark skirts, her pockets
full of lichens and seeds.

I slept as never before, a stone on the river bed,
nothing between me and the white fire of the stars
but my thoughts, and they floated light as moths
among the branches of the perfect trees.

All night I heard the small kingdoms
breathing around me, the insects,
and the birds who do their work in the darkness.

All night I rose and fell, as if in water,
grappling with a luminous doom. By morning
I had vanished at least a dozen times
into something better.

― Mary Oliver