Commit js, ts, and definitions in separate folders

This commit is contained in:
junderw 2019-01-04 18:33:02 +09:00
parent e7ac2b9a4e
commit bc28949056
No known key found for this signature in database
GPG key ID: B256185D3A971908
148 changed files with 3850 additions and 39 deletions
ts_src

28
ts_src/index.ts Normal file
View file

@ -0,0 +1,28 @@
import * as bip32 from 'bip32'
import * as ECPair from './ecpair'
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'
export {
ECPair,
address,
bip32,
crypto,
networks,
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'