bitcore-wallet-service/bit-wallet/bit

23 lines
815 B
Plaintext
Raw Normal View History

2015-02-12 18:57:16 -08:00
#!/usr/bin/env node
var program = require('commander');
program
.version('0.0.1')
.command('create <walletName> <m-n> [username]', 'creates a wallet')
.command('join <secret> [username]', 'join a wallet')
.command('status', 'get wallet status')
2015-02-13 07:55:07 -08:00
.command('address', 'create a new address from server')
.command('addresses', 'list addresses')
2015-02-13 08:35:20 -08:00
.command('balance', 'wallet balance')
2015-02-13 07:45:05 -08:00
.command('send <address> <amount> <note>', 'send bitcoins')
2015-02-14 07:54:00 -08:00
.command('sign <txpId>', 'sign a transaction proposal')
.command('reject <txpId> [reason]', 'reject a transaction proposal')
2015-02-15 13:52:48 -08:00
.command('broadcast <txpId>', 'broadcast a transaction proposal to the Bitcoin network')
2015-02-14 07:54:00 -08:00
.command('rm <txpId>', 'remove a transaction proposal')
2015-02-17 08:59:24 -08:00
.command('export', 'export wallet critical data')
2015-02-12 18:57:16 -08:00
.parse(process.argv);