walletd
Version:
Universal headless digital asset wallet for machines
31 lines (20 loc) • 477 B
text/typescript
import * as asciiart from 'ascii-art';
import * as yargs from 'yargs';
import * as walletd from './lib/app';
const argv = yargs
.option('database_url', {
alias: 'd'
})
.option('server_public_ip', {
alias: 'i'
})
.option('server_port', {
alias: 'p'
})
.argv;
asciiart.font('WALLETD', 'Doom', async (rendered) => {
console.log(rendered);
console.log('starting walletd...');
await walletd.start();
console.log('walletd running!');
});