hackquest logo

VolumeDynamicToken

this is my project for flow, github repository: https://github.com/gamingaggarwal8-svg/VolumeDynamicToken

Description

Project Description — VolumeDynamicToken (VDT)

The VolumeDynamicToken (VDT) project is a Solidity-based smart contract that demonstrates how a token can automatically adjust its price based on transaction volume — creating a self-regulating economic system without external control.

Unlike typical ERC-20 tokens that maintain a fixed price or rely on centralized market makers, VDT introduces a dynamic pricing model directly embedded in the blockchain logic.
Every time users buy or sell tokens, the price updates automatically according to the total volume of tokens traded, effectively implementing a simplified bonding curve mechanism.

The project is designed to be:

  • Standalone: No imports, no constructors, and no external dependencies.

  • Transparent: The price, supply, and balances are all visible on-chain.

  • Fully Decentralized: No admin or owner control — pricing and supply are purely driven by user activity.

The token’s price follows a linear relationship with net traded volume:

price = basePrice + (slope * netTraded / SCALE)

Where:

  • basePrice is the initial price floor,

  • slope determines how fast the price changes with demand, and

  • netTraded measures the total number of tokens bought minus sold.

When users buy, tokens are minted based on the amount of ETH sent; when users sell, tokens are burned and ETH is returned.
This direct on-chain pricing model allows the token to act as a self-balancing marketplace, where market activity itself influences token value — without the need for oracles or liquidity pools.

Overall, the VolumeDynamicToken project demonstrates the principles of autonomous token pricing, on-chain market logic, and self-regulated economics — making it a great foundation for learning, experimentation, and further research into decentralized finance (DeFi) mechanics.

Progress During Hackathon

50%

Tech Stack

Web3
Solidity
React
Node
Move
Next
Go
Ethers

Fundraising Status

none

Team Leader
KKartik
Sector
DeFi