UNPKG

hapi-ton-sdk

Version:

SDK for managing HAPI attestations on TON network

1 lines 1.03 kB
{"version":3,"sources":["../src/config.ts"],"sourcesContent":["interface Config {\n apiStaging: string;\n apiProduction: string;\n ton: Readonly<{\n score: string;\n nodeUrl: string;\n }>;\n tonTestnet: Readonly<{\n score: string;\n nodeUrl: string;\n }>;\n tonApiPath: (hash: string) => string;\n}\n\nexport const config: Readonly<Config> = {\n apiStaging: \"https://hapi-one.stage.hapi.farm\",\n apiProduction: \"https://score-be.hapi.mobi\",\n ton: {\n score: \"kQC60vGFCtYeQi-S0p6Lhfghd0vYS1YcTiHDWhEmuQ39QpCh\",\n nodeUrl: \"https://tonapi.io\",\n },\n tonTestnet: {\n score: \"kQC60vGFCtYeQi-S0p6Lhfghd0vYS1YcTiHDWhEmuQ39QpCh\",\n nodeUrl: \"https://testnet.tonapi.io\",\n },\n tonApiPath: (hash: string) => `/v2/blockchain/messages/${hash}/transaction`,\n};\n"],"mappings":";AAcO,IAAM,SAA2B;AAAA,EACtC,YAAY;AAAA,EACZ,eAAe;AAAA,EACf,KAAK;AAAA,IACH,OAAO;AAAA,IACP,SAAS;AAAA,EACX;AAAA,EACA,YAAY;AAAA,IACV,OAAO;AAAA,IACP,SAAS;AAAA,EACX;AAAA,EACA,YAAY,CAAC,SAAiB,2BAA2B,IAAI;AAC/D;","names":[]}