Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const Client = require('bitcoin-core');
- const client = new Client({ network: 'mainnet' });
- client.getInfo().then((help) => console.log(help));
- var client = new bitcoin.Client({
- host: 'localhost',
- port: 8332,
- user: 'username',
- pass: 'password',
- timeout: 30000
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement