Durudex Near Token
💡
Prerequisites
⚙️
Build
To build a token you will need to use this:
cargo build --all --target wasm32-unknown-unknown --release
⚡️
Deploy
To deploy the token you will need to use this:
# Contract account name.
ID=CONTRACT_ACCOUNT_NAME
# Token owner account name.
OWNER_ID=TOKEN_OWNER_ACCOUNT_NAME
# Path to build.
WASM_FILE=target/wasm32-unknown-unknown/release/durudex_near_token.wasm
# Deploy token.
near deploy $ID $WASM_FILE new '{"owner_id":"$OWNER_ID","total_supply":"160000000000000000000000000"}'
⚠️
License
Copyright © 2022 Durudex. Released under the GNU GPL v3 license.