blockstarter
v0.1.79
Published
How to launch ICO? This is tool for it.
Downloads
63
Readme
Crypto-wallet for ICO campaign
How to launch ICO? This is tool for it.
Examples of successful ICO: http://blockstarter.co
Install
This is a white label solution to create a contribution crypto-wallet that can be used in your ICO campaign.
Install
NodeJS is required.
npm i blockstarter
Usage
In your Nodejs project:
let blockstarter = require('blockstarter');
Get balance of cryptocurrency address
// Get balance of BTC address
blockstarter.balance.btc('BTC_PUBLIC_ADDRESS', (amount) => {
console.log(amount.toString());
})
// Get balance of LTC address
blockstarter.balance.ltc('LTC_PUBLIC_ADDRESS', (amount) => {
console.log(amount.toString());
})
// Get balance of ETH address
blockstarter.balance.eth('ETH_PUBLIC_ADDRESS', (amount) => {
console.log(amount.toString());
})
Get cryptocurrency rates
// Get BTC/USD rate
blockstarter.rate.btc( (usd) => {
console.log(usd);
})
// Get LTC/USD rate
blockstarter.rate.ltc( (usd) => {
console.log(usd);
})
// Get ETH/USD rate
blockstarter.rate.eth( (usd) => {
console.log(usd);
})
More code examples
More info
Please check out `test` folder
Please check out ./test folder for more usage examples.
Need help or integration?
If you need a help or integration with your sytem, please contact us at blockstarter.co
Support
[email protected]
[email protected]