Git Product home page Git Product logo

bondingcurvefactory's Introduction

Liquorice Gen

A bonding curve factory for simple and easy dynamic bonding curve creation.

Getting started

Below are the instructions to get the code up and running

Installation

Run yarn or npm install

Build & test

To build the smart contracts run yarn build.

To test, first run yarn start (which will start a ganache instance) and then in a separate terminal run yarn test to run the smart contract tests.

Front end

To view the front end simply double click the index.html to open it in a browser of your choice.

What is Liquorice Gen?

Liquorice Gen allows you to gather liquidity to launch a token onto the main net without having to go through traditional fundraising routes.

Through the use of a bonding curve as an automated market maker, you can deterministically raise collateral to launch a token onto uniswap at a predetermined price.

The nitty gritty

When creating a market through the bonding curve factory you will need to enter the following criteria:

  1. The curve parameters These parameters will be used inside the bonding curve to determine the price of your token.
  2. Name A name for your token. This is for compliance with the ERC20 standard.
  3. Symbol A symbol for your token. This is for compliance with the ERC20 standard.
  4. An address for the underlying collateral When buying a token, the user will have to pay for it in something. This is that something. This underlying collateral must comply with the ERC20 standard, and we would recommend using a stable coin as to ensure the value of your token does not get affected by the volatility of your collateral.
  5. Token threshold The amount of tokens you would like to be created before the token transitions to a uniswap market. Remember that no more tokens will be able to be created after the token transitions to uniswap. From this number and your curve parameters the amount of collateral that your token will seed the uniswap pool with can be predetermined, along with the start price of your token in the uniswap market (this start price will be the end price determined by the bonding curve at this supply).
  6. Minimum threshold Like the threshold above, except that this minimum threshold will only be checked against after your timeout expires. This is here so that if your threshold is not reached within the time frame, your token can still move across to uniswap. Remember that this cannot be changed once it is set, so think carefully about it.
  7. Threshold timeout Entered in months (and then conveniently converted) this time line determines when your token will switch from trying to reach the threshold to reaching the minimum threshold.

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.