Giter Site home page Giter Site logo

forkico's Introduction

install dependencies run server.js

post to localhost:3000/generateContract

{
	"waves":2,
	"token": {
		"name" : "testtoken",
		"ticker" : "TTT"
	}
}

Where waves are the amount of aves that you want(2 min) And token name and ticker

Then after this post to localhost:3000/generateContract

{"meta":{
  "DATES": {
    "START_IN_DAYS": 5,
    "END_IN_DAYS": 10
  },
  "RATE" : 100,
  "GOAL"  : 1000
  },
  "waveData": [{
         "PRE-ICO":
          {
                    "BONUS": 100,
                    "CAP": 1
                }
        },
            {
                "WAVE1": {
                    "BONUS": 75,
                    "CAP": 2
                }
            }],
  "wallets":{
    "OWNER":{
      "ADDRESS" : "0x8d3afe0bd3e0fbf96e6a78103d100c359e0b17e5", 
      "AMOUNT" : 20 
    },
    "TEAM":{
      "ADDRESS" : "0x8d3afe0bd3e0fbf96e6a78103d100c359e0b17e5", 
      "AMOUNT" : 20
    },
    "ECOSYSTEM" :{
      "ADDRESS" : "0x8d3afe0bd3e0fbf96e6a78103d100c359e0b17e5", 
      "AMOUNT" : 20 
    },
    "BOUNTY" : {
      "ADDRESS": "0x8d3afe0bd3e0fbf96e6a78103d100c359e0b17e5",
      "AMOUNT" : 5 
}
  }
}

DATES: are the start and end date, relative to now. RATE: how much tokens for 1 eth. GOAL: the softcap, only when this is reached all waves unlock(except for PRE-ICO which is not refundable) Wavedata: for each wave the data, the first wave is always "PRE-ICO", from then on WAVEi (where i is the number of the wave) cap = the wave cap Bonus = the bonus in percent

Wallets: here you put your teamwallets and the amount they are getting on successfull complation of the contract.

forkico's People

Contributors

meiremans avatar

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.