rubic-sdk
Version:
Simplify dApp creation
19 lines • 641 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.TonClientInstance = void 0;
const ton_1 = require("@ton/ton");
class TonClientInstance {
constructor() { }
static getInstance() {
if (!this.instance) {
this.instance = new ton_1.TonClient({
endpoint: 'https://x-api.rubic.exchange/toncenter/api/v2/jsonRPC',
apiKey: 'sndfje3u4b3fnNSDNFUSDNVSunw345842hrnfd3b4nt4'
});
}
return this.instance;
}
}
exports.TonClientInstance = TonClientInstance;
TonClientInstance.instance = null;
//# sourceMappingURL=ton-client.js.map