Skip to content

terraleaf-code/tleaf-token

Repository files navigation

Terraleaf token

This is a basic implementation of a cw20 contract extended with custom features.

Implements:

  • CW20 Base
  • Mintable extension
  • Allowances extension

Custom features:

  • Authorized burn
  • Migrate function
  • Withdrawal locked tokens

Compiling and running tests

# this will produce a wasm build in ./target/wasm32-unknown-unknown/release/YOUR_NAME_HERE.wasm
cargo wasm

# this runs unit tests with helpful backtraces
RUST_BACKTRACE=1 cargo unit-test

Preparing the Wasm bytecode for production

# This produces an `artifacts` directory with a `PROJECT_NAME.wasm`, as well as `checksums.txt`, containing the Sha256 hash of the wasm file.
sh build-terra-contract.sh

Deploy token

Follow the README.md in the /deployment directory

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors