Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including coin-bot with all npm packages installed. Try it out:

var coinBot = require("coin-bot")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

coin-bot v1.0.0

Generate crypto wallets (bitcoin, ethereum, litecoin, monero and more)

WARNING: it is alpha version. use at your own risk

Geneate cold wallets and export public address to json and csv

Build Status JavaScript Style Guide

Install

npm install -g coin-bot

API

Show supported coins

  • coin-bot coins
- { name: 'Bitcoin', symbol: 'btc' }
- { name: 'Ethereum', symbol: 'eth' }
- { name: 'Litecoin', symbol: 'ltc' }
- { name: 'Bitcoin Cash', symbol: 'bch' }
- { name: 'Bitcoin Gold', symbol: 'btg' }
- { name: 'Ethereum Classic', symbol: 'etc' }
- { name: 'Monero', symbol: 'mnr' }

Generate

  • coin-bot generate btc --count 3
{ generated: 3 }

Show list

  • coin-bot list btc
UTC--2017-11-30T10-01-33.413Z--1G3tYxPW9aBVkVn9WqGn2sJGsHehBCZ3zB
UTC--2017-11-30T10-01-33.454Z--1H5pnU1kREM6cc3wMuKQWHJC7z8bDZVUmR
UTC--2017-11-30T10-01-33.487Z--14zqZnKMisTbz8bzeUUUvwQ5DueJKyHiYw

Get balance

  • coin-bot balance btc
n32noJgdnkCBch7QRTQybQhyScjJi48ktZ 1.2
mrCeipU9MKEYBauatYdd1guYVFvGZpnV46 0
mpvtspaeiU87pEigfPUfY7HjWvo9Fh6oUr 0

Export to json

  • coin-bot export btc --json --output btc.json
saved to: /path/btc.json
  • cat btc.json
{"address":[{"timezone":"UTC","date":"2017-11-30T10-01-33.413Z","address":"1G3tYxPW9aBVkVn9WqGn2sJGsHehBCZ3zB"},{"timezone":"UTC","date":"2017-11-30T10-01-33.454Z","address":"1H5pnU1kREM6cc3wMuKQWHJC7z8bDZVUmR"},{"timezone":"UTC","date":"2017-11-30T10-01-33.487Z","address":"14zqZnKMisTbz8bzeUUUvwQ5DueJKyHiYw"}]}

Export to csv

  • coin-bot export btc --csv --output btc.csv
saved to: /path/btc.csv
  • cat btc.csv
1G3tYxPW9aBVkVn9WqGn2sJGsHehBCZ3zB,UTC,2017-11-30T10-01-33.413Z
1H5pnU1kREM6cc3wMuKQWHJC7z8bDZVUmR,UTC,2017-11-30T10-01-33.454Z
14zqZnKMisTbz8bzeUUUvwQ5DueJKyHiYw,UTC,2017-11-30T10-01-33.487Z

Show help

  • coin-bot help
  Commands:

    help [command...]                   Provides help for a given command.
    coins                               Supported coins list
    balance [options] <coin> [address]  Get balance of address
    generate [options] <coin>           Generate wallets
    list [options] <coin>               List generated wallets
    export [options] <coin>             Export public address

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free