Skip to content

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.

Notifications You must be signed in to change notification settings

secretarium/klave-erc20-token

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Klave - KRC20

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

Wasm AssemblyScript

Description

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

Features

  • 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

Deploy Your Own

You can deploy your own version of the Klave Account based token to Klave with one click:

Deploy on Klave

Build Locally

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.

Authors

This library is created by Klave and Secretarium team members, with contributions from:

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published