6f193c7f2a
* add test for validate multi reward periods * tidy up: combine files * don't accumulate global indexes containing zeros Previously if the time since last block was 0, indexes were added containing 0s. Now leave them out. Missing is assumed to be 0. * move state independent test to types folder * clarify reward source concept to "source shares" - rename variables and update doc comments - extract method from swap accumulation * tidy up and expand swap accumulation unit tests * rename swap test file to match others * update swap pool id format in tests * refactor borrow accumulation, use new accumulator * refactor supply accumulation, use new accumulator * refactor delegator accumulation, use accumulator * refactor usdx accumulation, use new accumulator * fix types const * remove unsed methods * more usdx minting param validation. Protect against the rewards per second denom changing. It should always be "ukava". * add safety check in InitGenesis It prevents huge accumulations on the first block by limiting all previous accumulation times to be within one year of genesis * add todo for adding swp token distirbution info |
||
---|---|---|
.circleci | ||
.github/.workflows | ||
app | ||
cli_test | ||
cmd | ||
contrib | ||
docs | ||
migrate | ||
networks/local | ||
rest_test | ||
simulations | ||
swagger-ui | ||
x | ||
.dockerignore | ||
.gitignore | ||
CHANGELOG.md | ||
docker-compose.yml | ||
Dockerfile | ||
go.mod | ||
go.sum | ||
golangci.yml | ||
kava-logo.svg | ||
LICENSE.md | ||
Makefile | ||
README.md |
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.14.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.14.1
make install
Upgrade
The scheduled mainnet upgrade to kava-7
took place on April 8th, 2021 at 15:00 UTC. The current version of Kava for kava-7
is v0.14.1.
The canonical genesis file can be found here
The canonical genesis file hash is
jq -S -c -M '' genesis.json | shasum -a 256
9dbff5a0fb1a7aa20247f73e974bfd4a11090252768869ef8ccb23a515a01c51 -
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.