Skip to content

Commit

Permalink
resolve create v2 wallet with bip32 new implementation (#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
ksibisamir committed May 15, 2023
2 parents 265a9fc + d6aedd8 commit 03bbe11
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions web3/wallets.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,11 @@ var cache = require('memory-cache')
var rp = require('axios')
const Big = require('big.js')
var wif = require('wif')

var bip32 = require('bip32')
const ecc = require('tiny-secp256k1')
const { BIP32Factory } = require('bip32')
// You must wrap a tiny-secp256k1 compatible implementation
const bip32 = BIP32Factory(ecc)
//var bip32 = require('bip32')
var bip38 = require('bip38')
var bip39 = require('bip39')
var bitcoinjs = require('bitcoinjs-lib')
Expand Down

0 comments on commit 03bbe11

Please sign in to comment.