Closed escapefelicity closed 4 years ago
https://github.com/bitcoinjs/bitcoinjs-lib/blob/master/CHANGELOG.md#400
"removed" bullet point 3.
It was removed in v4 almost 2 years ago. Please read the examples linked in the README for examples pertaining to the current version.
Thank you Jonathan. I was tearing my hair out. I'll buy you a beer. Send your BTC or DGB address.
On Sun, May 17, 2020 at 9:09 PM Jonathan Underwood notifications@github.com wrote:
Closed #1571 https://github.com/bitcoinjs/bitcoinjs-lib/issues/1571.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bitcoinjs/bitcoinjs-lib/issues/1571#event-3344585204, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIOSCUFCIWPHWLOF6ZVSINTRR7VZZANCNFSM4NDK3PSQ .
var bitcoin = require('bitcoinjs-lib'); var keypair = bitcoin.ECPair.makeRandom()
var address = keypair.getAddress().toString();