9d9b169e6a
* swap module scaffolding * global swap fee * can't think of a reason for begin blocker; removing for abci.go for now; * test pair types; refactor pair name logic; simplify pairs validation and fix stack overflow error * check comparison * use test package * init swap module genesis * add basic marshall tests * remove reward apy from pairs * fix integration helpers * use max swap fee constant; fix validation of swap fee; add tests to cover param validation and param set setup * use noerror over nil * start genesis tests * test param set validation mirrors param validation * add genesis tests * remove print statement * add subtests for genesis test cases; add extra querier test for unknown route; add keeper params testing * add spec * update swagger * find replace hard -> swap in comments * remove unused method * rename pairs to allowed pools; pool is more commonly used, and allowedPool makes it more clear what swap parameter is for. In addition, we won't conflict with Pool data structure for storing a created pool in the store. * remove generated link * missed spec rename * validate token order for allowed pools * fix swagger * json should be snakecase; change allowedPools to allowed_pools Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com> |
||
---|---|---|
.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.