pull in bip32 typescript
This commit is contained in:
parent
63d51d1da7
commit
e7ac2b9a4e
2 changed files with 8 additions and 11 deletions
|
@ -41,7 +41,7 @@
|
|||
"dependencies": {
|
||||
"@types/node": "^10.12.18",
|
||||
"bech32": "^1.1.2",
|
||||
"bip32": "^1.0.0",
|
||||
"bip32": "git+https://github.com/junderw/bip32.git#typeScript",
|
||||
"bip66": "^1.1.0",
|
||||
"bitcoin-ops": "^1.4.0",
|
||||
"bs58check": "^2.0.0",
|
||||
|
|
17
src/index.ts
17
src/index.ts
|
@ -1,31 +1,28 @@
|
|||
const bip32 = require('bip32')
|
||||
|
||||
import { Block } from './block'
|
||||
import * as bip32 from 'bip32'
|
||||
import * as ECPair from './ecpair'
|
||||
import { Transaction } from './transaction'
|
||||
import { TransactionBuilder } from './transaction_builder'
|
||||
import * as address from './address'
|
||||
import * as crypto from './crypto'
|
||||
import * as networks from './networks'
|
||||
import * as payments from './payments'
|
||||
import * as script from './script'
|
||||
import { OPS as opcodes } from './script'
|
||||
|
||||
export {
|
||||
Block,
|
||||
ECPair,
|
||||
Transaction,
|
||||
TransactionBuilder,
|
||||
address,
|
||||
bip32,
|
||||
crypto,
|
||||
networks,
|
||||
opcodes,
|
||||
payments,
|
||||
script,
|
||||
}
|
||||
|
||||
export { Block } from './block'
|
||||
export { Transaction } from './transaction'
|
||||
export { TransactionBuilder } from './transaction_builder'
|
||||
export { OPS as opcodes } from './script'
|
||||
|
||||
export { Payment, PaymentOpts } from './payments'
|
||||
export { Input as TxInput, Output as TxOutput } from './transaction'
|
||||
export { Network } from './networks'
|
||||
export { OpCode } from './script'
|
||||
export { BIP32Interface } from 'bip32'
|
||||
|
|
Loading…
Reference in a new issue