-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.js
35 lines (31 loc) · 1.15 KB
/
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
27
28
29
30
31
32
33
34
35
const getTransactionsByID = require('./getTransactionById.js')
const getTransactions = require('./getTransactions.js')
const createWalletOrGetWallet = require('./getWalletDetails.js')
const airDrop = require('./getAirdrop.js')
const initiateTransaction = require('./startTransaction.js')
const initiateTransactionExternal = require('./startTransactionExternal.js')
const transferGariToken = require('./transferGariToken.js')
const transferGariTokenExternal = require('./transferTokenExternal.js')
const { sdkInitialize } = require('./sdkInitialize.js')
const { getDecodedTransction } = require('./gariHelper.js')
const {partialSign} = require('./gariHelper.js')
const {verifyPublicKey} = require('./gariHelper.js')
const {packageVersion} = require('./config.js')
module.exports = {
// backend and frontend common methods
sdkInitialize,
packageVersion,
getDecodedTransction,
partialSign,
verifyPublicKey,
// backend methods
airDrop,
initiateTransaction,
initiateTransactionExternal,
getTransactionsByID,
getTransactions,
// frontend methods
createWalletOrGetWallet,
transferGariToken,
transferGariTokenExternal
}