Add taproot test with new CJS compatible tiny-secp256k1
This commit is contained in:
parent
424abf2376
commit
191b9e8573
6 changed files with 166 additions and 19 deletions
test/integration
|
@ -1,11 +1,13 @@
|
|||
import * as assert from 'assert';
|
||||
import * as bip32 from 'bip32';
|
||||
import BIP32Factory from 'bip32';
|
||||
import * as ecc from 'tiny-secp256k1';
|
||||
import { ECPair } from 'ecpair';
|
||||
import { describe, it } from 'mocha';
|
||||
import * as bitcoin from '../..';
|
||||
import { regtestUtils } from './_regtest';
|
||||
const rng = require('randombytes');
|
||||
const regtest = regtestUtils.network;
|
||||
const bip32 = BIP32Factory(ecc);
|
||||
|
||||
const validator = (
|
||||
pubkey: Buffer,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue