ceaed3f0e1
* proto types * proto generated types * liquidstaking top level files: module, genesis * liquidstaking types * liquidstaking keeper * liquidstaking client/cli * add liquidstaking to app, simapp * implement mint derivative * set up liquidstaking keeper test suite * test mint derivative * rename module to liquid * rename proto types, app.go to liquid * use sdk.Coin instead of shares * mint liquid tokens to delegator * burn derivative tokens to receive delegation * use conversion method instead of type cast * simplify delegation transfer logic * broaden delegation transfer tests * simplify transfer delegation method This removes a source of rounding errors * move derivative denom to keeper config * check for invalid coins in msg validation * block 0share transfers to avoid handling edge case * refactor MintDerivative to test calculations * simplify burn method so shares and tokens equal * convert TransferShares back to old design this makes handling vesting tokens easier * fix missed merge conflict * remove deprecated constants * tidy up msg.go * add msg tests * remove unused store key * fix msg event sender * remove unused params * tidy up documentation and errors * remove unused mocks * remove unused keepers from AppModule * tidy up msg return values keeper return values to be used in router msgs * reinstate unintentionally removed interface check * catch invalid input for MnitDerivative clear up test TODOs * clear up InitGenesis TODO * Update x/liquid/client/cli/tx.go Co-authored-by: Derrick Lee <derrick@dlee.dev> * Update x/liquid/client/cli/tx.go Co-authored-by: Derrick Lee <derrick@dlee.dev> * show error logs in devnet * unblock mod account so it can receive dist rewards * catch zero amout msgs early * minor cli fixes Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com> Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com> Co-authored-by: Derrick Lee <derrick@dlee.dev> |
||
---|---|---|
.circleci | ||
.github/.workflows | ||
app | ||
cli_test | ||
client | ||
cmd/kava | ||
contrib | ||
docs | ||
migrate | ||
networks/local | ||
proto | ||
scripts | ||
simulations | ||
third_party/proto | ||
x | ||
.clang-format | ||
.dockerignore | ||
.gitignore | ||
buf.work.yaml | ||
CHANGELOG.md | ||
docker-compose.yml | ||
Dockerfile | ||
go.mod | ||
go.sum | ||
golangci.yml | ||
hard.svg | ||
kava-logo.svg | ||
LICENSE.md | ||
Makefile | ||
README.md | ||
swp.svg |
DeFi for Crypto.
Reference implementation of Kava, a blockchain for cross-chain DeFi. Built using the cosmos-sdk.
Mainnet
The current recommended version of the software for mainnet is v0.16.1. The master branch of this repository often contains considerable development work since the last mainnet release and is not runnable on mainnet.
Installation
git checkout v0.16.1
make install
Upgrade
The scheduled mainnet upgrade to kava-9
took place on January 19th, 2022 at 14:00 UTC. The current version of Kava for kava-9
is v0.16.0.
The canonical genesis file can be found here
The canonical genesis file hash is
jq -S -c -M '' genesis.json | shasum -a 256
5c688df5ae6cba9c9e5a9bab045eb367dd54ce9b7f5fab78cf3e636cf2e2b793 -
Testnet
For further information on joining the testnet, head over to the testnet repo.
Docs
Kava protocol and client documentation can be found in the Kava docs.
If you have technical questions or concerns, ask a developer or community member in the Kava discord.
License
Copyright © Kava Labs, Inc. All rights reserved.
Licensed under the Apache v2 License.