cosmos-sdk/docs/building-modules/README.md

76 lines
2.6 KiB
Markdown

# Modules
## Auth
The `x/auth` modules is used for accounts
- [API docs](https://godoc.org/github.com/cosmos/cosmos-sdk/x/auth)
- [Specification](https://github.com/cosmos/cosmos-sdk/tree/master/docs/spec/auth)
## Bank
The `x/bank` module is for transferring coins between accounts.
- [API docs](https://godoc.org/github.com/cosmos/cosmos-sdk/x/bank)
- [Specification](https://github.com/cosmos/cosmos-sdk/tree/master/docs/spec/bank)
## Staking
The `x/staking` module is for Cosmos Delegated-Proof-of-Stake.
- [API docs](https://godoc.org/github.com/cosmos/cosmos-sdk/x/staking)
- [Specification](https://github.com/cosmos/cosmos-sdk/tree/master/docs/spec/staking)
## Slashing
The `x/slashing` module is for Cosmos Delegated-Proof-of-Stake.
- [API docs](https://godoc.org/github.com/cosmos/cosmos-sdk/x/slashing)
- [Specification](https://github.com/cosmos/cosmos-sdk/tree/master/docs/spec/slashing)
## Distribution
The `x/distribution` module is for distributing fees and inflation across bonded
stakeholders.
- [API docs](https://godoc.org/github.com/cosmos/cosmos-sdk/x/distribution)
- [Specification](https://github.com/cosmos/cosmos-sdk/tree/master/docs/spec/distribution)
## Governance
The `x/gov` module is for bonded stakeholders to make proposals and vote on them.
- [API docs](https://godoc.org/github.com/cosmos/cosmos-sdk/x/gov)
- [Specification](https://github.com/cosmos/cosmos-sdk/tree/master/docs/spec/governance)
To keep up with the current status of IBC, follow and contribute to [ICS](https://github.com/cosmos/ics)
## Crisis
The `x/crisis` module is for halting the blockchain under certain circumstances.
- [API Docs](https://godoc.org/github.com/cosmos/cosmos-sdk/x/crisis)
- [Specification](https://github.com/cosmos/cosmos-sdk/blob/master/docs/spec/crisis)
## Mint
The `x/mint` module is for flexible inflation rates and effect a balance between market liquidity and staked supply.
- [API Docs](https://godoc.org/github.com/cosmos/cosmos-sdk/x/mint)
- [Specification](https://github.com/cosmos/cosmos-sdk/blob/master/docs/spec/mint)
## Params
The `x/params` module provides a globally available parameter store.
- [API Docs](https://godoc.org/github.com/cosmos/cosmos-sdk/x/params)
- [Specification](https://github.com/cosmos/cosmos-sdk/blob/master/docs/spec/params)
## Evidence
The `x/evidence` modules provides a mechanism for defining and submitting arbitrary
events of misbehavior and a means to execute custom business logic for such misbehavior.
- [API Docs](https://godoc.org/github.com/cosmos/cosmos-sdk/x/evidence)
- [Specification](https://github.com/cosmos/cosmos-sdk/blob/master/docs/spec/evidence)