16993/bitcoinjs-lib-getaddress-not-a-function-error
This is the code i am using
const bitcoin = require('bitcoinjs-lib'); let testnet = bitcoin.networks.testnet;
let keypair = bitcoin.ECPair.makeRandom({network: testnet}); let addr = keypair.getAddress(); let pk = keypair.toWIF();
You need to pass network parameter to ECPair.makeRandom directly without wrapper object and you wont get this error anymore
const bitcoin = require('bitcoinjs-lib'); let testnet = bitcoin.networks.testnet; let keypair = bitcoin.ECPair.makeRandom(testnet); let addr = keypair.getAddress(); let pk = keypair.toWIF();
With this line it should work fine: wallet.provider ...READ MORE
Try the following: // Initialize contract variable with ...READ MORE
It appears you are using web3.js v1.0. ...READ MORE
I had the same problem. Instead ethereum:web3 Meteor package ...READ MORE
What is the argument utxos int the ...READ MORE
yes all are over TCP/IP connections secured by TLS encryption in hashgraph architecture-hashgraph, ...READ MORE
This was a bug. They've fixed it. ...READ MORE
Summary: Both should provide similar reliability of ...READ MORE
It appears like you have already migrated ...READ MORE
First try restarting the system and then ...READ MORE
OR
Already have an account? Sign in.