QuantumFinance Token (QFT) is a custom ERC20 token deployed on the Ethereum-compatible Arbitrum network. It comes with advanced DeFi features like token burning and staking rewards.
- Token Burning: 2% of every transaction is automatically burned, reducing the total supply over time.
- Staking Rewards: Holders can stake their tokens and earn a 5% annual reward rate.
- Adjustable Rates: The owner can adjust the burn and reward rates with set limits for flexibility and security.
- Token Name: QuantumFinance Token
- Token Symbol: QFT
- Initial Supply: 1,000,000 QFT (minted to the contract creator)
- Burn Rate: 2% (default)
- Reward Rate: 5% per year (default)
-
transfer(address recipient, uint256 amount)
- Transfers tokens and applies the burn rate.
- Emits a
Burned
event for transparency.
-
stakeTokens(uint256 amount)
- Allows users to stake their tokens for rewards.
- Emits a
Staked
event.
-
unstakeTokens()
- Allows users to unstake tokens and claim their rewards.
- Emits an
Unstaked
event.
-
setBurnRate(uint256 newBurnRate)
- Allows the contract owner to change the burn rate (up to 10%).
-
setRewardRate(uint256 newRewardRate)
- Allows the contract owner to change the reward rate (up to 20%).
- Open Remix IDE.
- Create a new file and paste the contract code.
- Compile the contract using Solidity version
0.8.24
. - Deploy the contract to an Ethereum-compatible test network (e.g., Arbitrum testnet).
- Interact with the contract using Remix’s interface.
- Solidity 0.8.24: Smart contract programming language.
- OpenZeppelin: Industry-standard library for secure smart contracts.
- Remix IDE: Development environment for smart contract deployment.
This project is licensed under the LGPL-3.0-only license.
- Add a front-end DApp for easier token interaction.
- Implement multi-tier staking rewards.
- Introduce governance features for token holders.