-
Notifications
You must be signed in to change notification settings - Fork 12
/
index.js
36 lines (32 loc) · 1.16 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
36
// @ts-check
// TODO: doctests?
/**
* @typedef { import('./src/rnode').Observer } Observer
* @typedef { import('./src/rnode').Validator } Validator
* @typedef { import('./src/proxy').Account } Account
* @typedef { import('./src/rev-address').RevAccount } RevAccount
* @typedef { import('./src/rnode-openapi-schema').ExploratoryDeployResponse } ExploratoryDeployResponse
* @typedef { import('./src/rnode-openapi-schema').DeployData } DeployData
* @typedef { import('./src/rnode-openapi-schema').DeployRequest } DeployRequest
* @typedef { import('./src/rnode-openapi-schema').DeployInfo } DeployInfo
*/
import * as rhopmAll from './src/rhopm';
export { RNode } from './src/rnode';
export { RhoExpr } from './src/rho-expr';
export { Base16, Base58 } from './src/codec';
export { sign as signDeploy, signMetaMask } from './src/deploySig';
export {
getAddrFromEth,
getAddrFromPublicKey,
getAddrFromPrivateKey,
verifyRevAddr,
createRevAccount,
} from './src/rev-address';
export {
makeAccount,
startTerm,
listenAtDeployId,
makeConnection,
} from './src/proxy';
export { getEthProvider, MetaMaskAccount } from './src/ethProvider';
export const rhopm = rhopmAll;