forked from ArkEcosystemArchive/ark-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
26 lines (22 loc) · 849 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/** @module arkjs */
ark = {
crypto : require("./lib/transactions/crypto.js"),
delegate : require("./lib/transactions/delegate.js"),
signature : require("./lib/transactions/signature.js"),
multisignature : require("./lib/transactions/multisignature.js"),
transaction : require("./lib/transactions/transaction.js"),
vote : require("./lib/transactions/vote.js"),
ipfs : require("./lib/transactions/ipfs.js"),
networks : require("./lib/networks.js"),
slots : require("./lib/time/slots.js"),
ECPair : require("./lib/ecpair.js"),
HDNode : require("./lib/hdnode.js"),
ECSignature : require("./lib/ecsignature.js"),
}
// extra aliases for bitcoinlib-js compatibility
var libCrypto = require('./lib/crypto.js')
for (var method in libCrypto) {
ark.crypto[method] = libCrypto[method]
}
/** The arkjs exported object. */
module.exports = ark;