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.
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.
- 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.
- 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..
- 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.
- 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.
- oracle. The bottom layer of cross-chain mechanism, which focuses on primitive communication package handling and verification.
- upgrade. Seamless upgrade on Greenfield enable a client to sync blocks from genesis to the latest state.
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.
- Greenfield: the official greenfield blockchain client.
- Greenfield-Tendermint: the consensus layer of Greenfield blockchain.
- Greenfield-Storage-Provider: the storage service infrastructures provided by either organizations or individuals.
- Greenfield-Relayer: the service that relay cross chain package to both chains.
- Greenfield-Cmd: the most powerful command line to interact with Greenfield system.
- Awesome Cosmos: Collection of Cosmos related resources which also fits Greenfield.
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.
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.