Skip to content

ruojunm/greenfield-cosmos-sdk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Greenfield Cosmos-SDK

This repo is forked from cosmos-sdk.

The Greenfield Block Chain leverages cosmos-sdk to fast build a dApp running with tendermint. Due to the many requirements of Greenfield blockchain that cannot be fully satisfied by cosmos-sdk at present, we have decided to fork the cosmos-sdk repo and add modules and features based on it.

Disclaimer

The software and related documentation are under active development, all subject to potential future change without notification and not ready for production use. The code and security audit have not been fully completed and not ready for any bug bounty. We advise you to be careful and experiment on the network at your own risk. Stay safe out there.

Key Features

  1. auth. The address format of the Greenfield blockchain is fully compatible with BSC (and Ethereum). It accepts EIP712 transaction signing and verification. These enable the existing wallet infrastructure to interact with Greenfield at the beginning naturally.
  2. crosschain. Cross-chain communication is the key foundation to allow the community to take advantage of the Greenfield and BNB Smart Chain dual chain structure..
  3. gashub. As an application specific chain, Greenfield defines the gas fee of each transaction type instead of calculating gas according to the CPU and storage consumption.
  4. gov. There are many system parameters to control the behavior of the Greenfield and its smart contract on BSC, e.g. gas price, cross-chain transfer fees. All these parameters will be determined by Greenfield Validator Set together through a proposal-vote process based on their staking. Such the process will be carried on cosmos sdk.
  5. oracle. The bottom layer of cross-chain mechanism, which focuses on primitive communication package handling and verification.
  6. upgrade. Seamless upgrade on Greenfield enable a client to sync blocks from genesis to the latest state.

Quick Start

Note: Requires Go 1.18+

## proto-all
make proto-all

## build from source
make build

## test
make test

## lint check 
make lint

See the Cosmos Docs and Getting started with the SDK.

Related Projects

Contribution

Thank you for considering helping with the source code! We appreciate contributions from anyone on the internet, no matter how small the fix may be.

If you would like to contribute to Greenfield, please follow these steps: fork the project, make your changes, commit them, and send a pull request to the maintainers for review and merge into the main codebase. However, if you plan on submitting more complex changes, we recommend checking with the core developers first via GitHub issues (we will soon have a Discord channel) to ensure that your changes align with the project's general philosophy. This can also help reduce the workload of both parties and streamline the review and merge process.

Licence

The greenfield-cosmos-sdk is licensed under the GNU Lesser General Public License v3.0, also included in our repository in the COPYING.LESSER file.

About

A cosmos-sdk fork for greenfield

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 91.0%
  • C 7.1%
  • Java 0.3%
  • Sage 0.3%
  • Assembly 0.3%
  • Makefile 0.3%
  • Other 0.7%