tokenizeme
v0.0.8
Published
API for ICOsuite
Downloads
1
Readme
ICO suite API
This nodejs module for ICOsuite integration
Status: Implemented MVP
Use API
npm i icosuite --save
var web3 = if window ? window.web3 : require('web3');
var nodeURI = "https://icosuite.network"
var icosuite = require('icosuite')(window.web3, nodeURI);
var showResult = function(err, result) {
console.log(err, result);
}
// Add New Project
icosuite.addProject(project, showResult);
// Get list of public projects
icosuite.getProjects(showResult);
// Get project details
icosuite.getProjectDetails('BTC', showResult);
// Get tokensale contract
icosuite.tokensaleContractAt('0x....') //use contract methods
// Get token contract
icosuite.tokenContractAt('0x....') //use contract methods
icosuite.network