revos-sdk-js-mainnet
Version:
revos client and wallet SDK
26 lines (25 loc) • 786 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.defaultPublishOptions = exports.defaultOptions = exports.checkTimeoutInterval = void 0;
const defaultOptions = {
reconnectIntervalMin: 1000,
reconnectIntervalMax: 64000,
responseTimeout: 5000,
msgHoldingSeconds: 0,
encrypt: true,
//rpcServerAddr: 'https://mainnet-rpc-node-0001.nkn.org/mainnet/api/wallet',
//rpcServerAddr: "http://127.0.0.1:30003",
rpcServerAddr: "https://mainnet-seed001.revos.net",
worker: false
};
exports.defaultOptions = defaultOptions;
const defaultPublishOptions = {
txPool: false,
offset: 0,
limit: 1000
};
exports.defaultPublishOptions = defaultPublishOptions;
const checkTimeoutInterval = 250;
exports.checkTimeoutInterval = checkTimeoutInterval;