Welcome to the Degen Gaming ERC-20 Token project, known as DegenWiz. This smart contract is built on the Ethereum blockchain and is designed to facilitate a gaming ecosystem where players can earn, transfer, redeem, and burn tokens. The project is named "Degen" with the symbol "DGN."
- The platform allows the owner to mint new tokens, which can be distributed as rewards to players.
- Players have the ability to transfer their tokens to other addresses within the network.
- Players can redeem their tokens for various in-game items available in the store.
- Players can check their token balance at any time to keep track of their rewards.
- Any token holder can burn their tokens if they are no longer needed.
- The contract introduces a list of reward items, such as ARMOUR, InvisibleCloak, and MagmaWand, which players can gain by spending tokens.
- Token Name: Degen
- Token Symbol: DGN
- DegenWizz
- whitewizardd
- OpenZeppelin's ERC20 and Ownable contracts
-
Mint Degen Token
mintDegenToken(uint256 amount)
: Mint a specified amount of Degen tokens (onlyOwner).mintDegenToken(address[] memory players, uint256 amount)
: Mint tokens for multiple players (onlyOwner).
-
Transfer Degen Token
transferDegenToken(address _to, uint256 _amount)
: Transfer Degen tokens to another address.
-
Burn Degen Token
burnDegenToken(uint256 _amount)
: Burn a specified amount of Degen tokens.
-
Check Token Balance
getDegenTokenToken()
: Get the Degen token balance of the caller.
-
Reward Items
gainRewardItems(RewardItems item)
: Allow players to gain reward items by spending tokens.
-
Withdraw Funds
withdrawFunds()
: Allow the owner to withdraw funds from the contract.
To ensure the contract's functionality, follow these steps:
- Mint tokens using
mintDegenToken
functions. - Transfer tokens using
transferDegenToken
. - Burn tokens using
burnDegenToken
. - Check token balance with
getDegenTokenToken
. - Redeem items with
gainRewardItems
. - Withdraw funds using
withdrawFunds
.
- Deploy the contract to the Avalanche Fuji Testnet.
- Verify the smart contract on Snowtrace.
Integrate the Degen Gaming ERC-20 Token (DegenWiz) into your gaming ecosystem by interacting with the contract on the Avalanche network.
Ensure that you are the owner of the contract when minting tokens and withdrawing funds.
Thank you for choosing Degen Gaming ERC-20 Token for your gaming project! Feel free to reach out if you have any questions or need further assistance.# DegenToken