This project creates an ERC20 token called Degen - DGN and it was deployed on the Avalanche network for Degen Gaming.
- Minting new tokens: The platform should be able to create new tokens and distribute them to players as rewards. Only the owner can mint tokens.
- Transferring tokens: Players should be able to transfer their tokens to others.
- edeeming tokens: Players should be able to redeem their tokens for items in the in-game store.
- Checking token balance: Players should be able to check their token balance at any time.
- Burning tokens: Anyone should be able to burn tokens, that they own, that are no longer need
Follow the following steps to get started:
-
Node.js and npm installed on your machine.
-
Clone this repository locally - git clone https://github.com/your-username/your-contract.git
-
Change directory into your project - cd your-contract-app
-
Install dependencies using npm install or yarn
-
Compile the contract using Hardhat - npx hardhat compile or yarn hardhat compile
-
Deploy the contract using Hardhat. npx hardhat node or yarn hardhat node npx hardhat ignition deploy ./ignition/modules/DegenToken.ts --network localhost or yarn hardhat ignition deploy ./ignition/modules/DegenToken.ts --network localhost
-
0xKatoragashua