You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
445 B
25 lines
445 B
10 years ago
|
var _ = require('lodash');
|
||
|
var async = require('async');
|
||
|
var log = require('npmlog');
|
||
|
var fs = require('fs');
|
||
|
|
||
|
var clilib = require('./lib/clilib');
|
||
|
|
||
|
fs.unlinkSync('.bit');
|
||
|
|
||
|
clilib.createWallet('my wallet', 'me', 1, 1, function(err, secret) {
|
||
|
if (err) {
|
||
|
console.log(err);
|
||
|
process.exit();
|
||
|
}
|
||
|
|
||
|
clilib.status(function(err, status) {
|
||
|
if (err) {
|
||
|
console.log(err);
|
||
|
process.exit();
|
||
|
}
|
||
|
|
||
|
console.log(status);
|
||
|
})
|
||
|
});
|