Kava Rosetta Implementation

Hello Rosetta Community!

This is Kava’s implementation of the Rosetta Data and Construction APIs for the Kava blockchain. The public repository can be found at GitHub - Kava-Labs/rosetta-kava: Kava implementation of the Coinbase Rosetta API

What is Kava?

Kava is a cross-chain DeFi platform built using the cosmos-sdk. Kava brings together everything that’s required to do frictionless decentralized finance, accessible to everyone. To date, the Kava blockchain has facilitated over $1B in cross-chain volume, $100M in collateralized loans, and has over 30 integrations with some of the largest projects and companies in the industry. More details can be found in links below:

Implementation Details

The Data API implementation reports all native token transfers, all DeFi related transfers (opening a CDP, supplying/borrowing from a money market, etc), as well as staking operations. Due to a few implementation quirks, the following module accounts are exempted from balance tracking.

  • Governance
  • Staking pools
  • CDP

Note that all regular accounts balance track , as well as all other module accounts. After upgrading to v0.43 of the cosmos-sdk, all accounts should successfully balance track. Additionally, we have implemented sub-accounts for querying staked and vesting balances for all accounts.

The Construction API implementation handles native token transfers. As a follow up, we will look to add staking functionality to the construction API.

Feedback

We are happy to receive any feedback or questions about this implementation, feel free to post in this thread or the repository. Looking forward to collaborating together!