Degen is an ERC20 Token designed for gaming purposes. It is deployed on the Avalanche C-Chain Testnet for speed and security.
You can check the source code and explore transactions at 0x96503cdD06CBD98bb970B346E67e52d254D1d745
The users can -
- Transfer their tokens to friends
- Redeem their tokens for shop items
- Burn their unused tokens
- Check their account balance
NOTE : The owner has access to mint new tokens as the token doesn't have any real life monetary value.
- Clone the repo locally
- Install all dependencies using
npm i
oryarn
- run
npx hardhat run ./scripts/deploy.js
to deploy the code on hardhat locally
For ease, you can connect to this contract on Remix
Steps -
- Compile the code on Remix or upload the ABI at Remix
- Select the Injected Provider - Metamask option from ENVIRONMENT
- Paste the Avalanche Testnet deployed address provided above
- You can now simply start interacting
Only the burnTokens
, createNewItem
, purchaseItem
, transfer
, addressToItemsOwned
, balanceOf
, decimals
, name
, owner
, totalSupply
, symbol
, shopItems
, getItemsPurchasedByAddress
buttons can be called by the user.
Swayam Duhan
@swxyamfr on X
@swayamwins on Discord
This project is licensed under the MIT License