Forked from ruimarinho/bitcoin-core
See CHANGELOG.md
Install the package via yarn:
yarn add @bitaccess/bitcoin-coreor via npm:
Install the package via npm:
npm install @bitaccess/bitcoin-core --saveSee here for original arguments.
- (NEW)
[proxy](string|Object): connect via proxy URL or expanded config (Object). - (NEW)
[proxy.url](string): Proxy URL. - (NEW)
[proxy.username](string): Authenticated proxy user name. - (NEW)
[proxy.password](string): Authenticated proxy password.
const Client = require('bitcoin-core');
const client = new Client({
host: 'bitcoindrpcssl.example.com',
port: 443,
proxy: 'https://username:[email protected]',
ssl: {
enabled: true,
strict: false
}
});To test using a local installation of node.js but with dependencies (e.g. bitcoind) running inside Docker:
npm run test:dockerTo test using Docker exclusively (similarly to what is done in Travis CI):
npm run test:cinpm version [<newversion> | major | minor | patch] -m "Release %s"MIT