Skip to content

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.

Notifications You must be signed in to change notification settings

pnavlani/Quantum-Finance-ERC-20

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

QuantumFinance Token (QFT) - A DeFi ERC20 Token

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.

Features

  • 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.

Smart Contract Details

  • 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)

Core Functions

  1. transfer(address recipient, uint256 amount)

    • Transfers tokens and applies the burn rate.
    • Emits a Burned event for transparency.
  2. stakeTokens(uint256 amount)

    • Allows users to stake their tokens for rewards.
    • Emits a Staked event.
  3. unstakeTokens()

    • Allows users to unstake tokens and claim their rewards.
    • Emits an Unstaked event.
  4. setBurnRate(uint256 newBurnRate)

    • Allows the contract owner to change the burn rate (up to 10%).
  5. setRewardRate(uint256 newRewardRate)

    • Allows the contract owner to change the reward rate (up to 20%).

Deployment Instructions

  1. Open Remix IDE.
  2. Create a new file and paste the contract code.
  3. Compile the contract using Solidity version 0.8.24.
  4. Deploy the contract to an Ethereum-compatible test network (e.g., Arbitrum testnet).
  5. Interact with the contract using Remix’s interface.

Technologies Used

  • Solidity 0.8.24: Smart contract programming language.
  • OpenZeppelin: Industry-standard library for secure smart contracts.
  • Remix IDE: Development environment for smart contract deployment.

License

This project is licensed under the LGPL-3.0-only license.

Future Enhancements

  • Add a front-end DApp for easier token interaction.
  • Implement multi-tier staking rewards.
  • Introduce governance features for token holders.

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published