An implementation on Klave of an ERC20 like fungible token as well as an account based infrastructure. Include also supply management through mint and burn method.
Description · Features · Deploy Your Own · Build Locally · Authors
Tokens can represent anything from a currency like USD, a metric ton of metal, a concert ticket, and more. Standards such as ERC20 have been introduced to make Tokens fungible, meaning that they all have properties that make each Token the same as another Token.
KRC20 inspired from ERC20 implements an API that provides the following functions:
- Transfer tokens from one account to another
- Get the current token balance of an account
- Get the total supply of the Token available on the network
- Approve whether an amount of Token from an account can be spent by a third-party account
- Create Token: Create and Name token
- Manage supply: Use mint and burn method to manage token suply
- Create Account: Create and manage user account
- Manage transaction: Send and receive tokens
You can deploy your own version of the Klave Account based token to Klave with one click:
You can build your into wasm locally, allowing you to validate the hash of the application deployed on Klave.
Note: You should have node and yarn installed to be able to build locally.
yarn install
yarn build
This will create the .wasm file in the ./klave folder.
This library is created by Klave and Secretarium team members, with contributions from:
- Jeremie Labbe (@jlabbeklavo) - Klave | Secretarium
- Nicolas Marie (@Akhilleus20) - Klave | Secretarium
- Etienne Bosse (@Gosu14) - Klave | Secretarium