Skip to content
This repository was archived by the owner on Jan 9, 2026. It is now read-only.

kadena-io/canonical-wkda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WKDA

This project is meant to be the wrapped version of the KDA native token on the Kadena Chainweb EVM chains. It is based on the WETH9 implementatin but upgraded to solidity 0.8.30 (the latest version at the time). One big difference is that that there is no balanceOf mnapping per se. Instead, an ERC-7201 namespaced storage slot is used for the mapping. This was meant to facilitate the planned ERC-20 x-chain mechanism. This mechanism would rely on storage proofs to get an address's balance of WKDA. In order for that to work, the x-chain mechanism would need to know in which slot the mapping is present.

Unit tests

To run the unit tests, clone the repo. Run

npm install

in the project root director.

Then run

npx hardhat test

About

The canonical WKDA Implementation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors