keystore_wdc
Version:
``` npm i keystore_wdc; const KeyStore = require('keystore_wdc'); const ks = new KeyStore(); ``` #### 生成keystore ``` async function create(){ const keystore = await ks.Create("your password"); } ``` * 返回keystore,密码格式不正确返回-1。
16 lines (15 loc) • 644 B
text/typescript
export {
privateKey2PublicKey, publicKeyHash2Address, publicKey2Hash,
bin2hex, rmd160, address2PublicKeyHash,
assertAddress, hex2bin, str2bin, bin2str, dig2str
}
from './utils'
export { TransactionBuilder } from './builder'
export { RPC } from './rpc'
export * as rlp from './rlp'
export { TX_STATUS, TransactionResult, Binary, Digital, AbiInput, Event, ABI_DATA_TYPE, Readable, ABI_TYPE } from "./types"
export { compileContract, compileABI, Contract, getContractAddress, ABI } from './contract'
import BN = require('../bn')
export { Transaction } from './tx'
export { VirtualMachine } from './vm'
export { BN }