Refactor: Remove all require statements, remove ECPair, remove tiny-secp256k1 dep
This commit is contained in:
parent
f209b0e410
commit
e5a77304fa
87 changed files with 1447 additions and 1161 deletions
test/integration
|
@ -1,10 +1,11 @@
|
|||
import { ECPair } from 'ecpair';
|
||||
import { describe, it } from 'mocha';
|
||||
import * as bitcoin from '../..';
|
||||
import { regtestUtils } from './_regtest';
|
||||
const NETWORK = regtestUtils.network;
|
||||
const keyPairs = [
|
||||
bitcoin.ECPair.makeRandom({ network: NETWORK }),
|
||||
bitcoin.ECPair.makeRandom({ network: NETWORK }),
|
||||
ECPair.makeRandom({ network: NETWORK }),
|
||||
ECPair.makeRandom({ network: NETWORK }),
|
||||
];
|
||||
|
||||
async function buildAndSign(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue