From d5b319d53931761c250b3c60abdc9332fbceda19 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 18 May 2020 21:12:02 -0700 Subject: bitcoin node test --- bitcointest.js | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 bitcointest.js diff --git a/bitcointest.js b/bitcointest.js new file mode 100644 index 00000000..2abb92fc --- /dev/null +++ b/bitcointest.js @@ -0,0 +1,4 @@ +config = require("./config"); +BitcoinCore = require("bitcoin-core"); +bc = new BitcoinCore(config.bitcoin); +bc.getNetworkInfo().then(console.log); -- cgit v1.2.3