Coder Social home page Coder Social logo

defi-token's Introduction

Deflationary DeFi token, IDO Presale contract and Token/Liquidity Locker contract

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.

Deflationary token with tokenomics and Automated Liquidity Acquisition

  • 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

IDO Presale contract for token launch on DEX

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 Locker contract

Token/liquidity locker contract to maintain transparency in DeFi ecosystem.

Requirements: NodeJS, Truffle

To launch this demo:

  1. clone this repository
  2. run npm i
  3. run truffle compile
  4. run truffle migrate
  5. run truffle test

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.