Nearvember Challenge #6
Get Pepe Coin now
Don't have a Near Tesnet Wallet? Create one now, It's free!!!
Contract testing commands:
Deploy
near dev-deploy --wasmFile res/fungible_token.wasm --helperUrl https://near-contract-helper.onrender.com
Initialize (total_supply here is just initial supply, there is no cap)
near call $CONTRACT_NAME new '{"owner_id": "'$CONTRACT_NAME'", "total_supply": "10000000", "metadata": { "spec": "ft-1.0.0", "name": "PEPE Coin", "symbol": "PEPE", "decimals": 0 }}' --accountId $CONTRACT_NAME
Register to interact
near call $CONTRACT_NAME storage_deposit '' --accountId wallet.testnet --amount 0.00125
Mint FT to wallet u want near call $CONTRACT_NAME ft_mint '{"receiver_id":"nugget.testnet", "amount":"69"}' --accountId wallet.testnet --amount 0.00125
Check Balance of wallet near view $CONTRACT_NAME ft_balance_of '{"account_id": "'wallet.testnet'"}'
Check Total mint supply near view $CONTRACT_NAME ft_total_supply ''