This repo holds Deflationary token contract, Presale contract, Locker contract and tests around it using Truffle. Scripts folder holds example integrations: web.js based demo script and ReactJS based demo app.
- Community distribution - x% of every CharityToken transaction is redistributed back to the holders using reflections mechanism explained in detail in this article
- Automatic liquidity distribution - x% 5% fee from swap and transfers can be kept in a standalone pool within the contract itself and automatically converted to the liquidity pool after the token count reaches a threshold, explained in detail in this article
- Charitable ecosystem donations and dev fees
Smart Contract for creating IDO liquidity pools, leveraging UniswapV2Pairs for specialized reward distribution based on derived token share from LP.
Pools have a start and end timestamps, along with minimum and maximum contribution amounts. Investors can contribute to IDO pools to receive future tokens based on a rate set in USDT, USDC, or alternatives. Funds collected are forwarded to a wallet as they arrive. More info on the intended functionality for pools and staking can be found in the gitbook documentation.
Token/liquidity locker contract to maintain transparency in DeFi ecosystem.
Requirements: NodeJS, Truffle
To launch this demo:
- clone this repository
- run
npm i
- run
truffle compile
- run
truffle migrate
- run
truffle test