@broxus/tvm-connect
Version:
TypeScript SDK for connecting to Nekoton-compatible wallets using a unified interface.
140 lines (139 loc) • 5.1 kB
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.humoMainnet = exports.tonMainnet = exports.hamsterMainnet = exports.tychoTestnet = exports.venomMainnet = exports.everscaleMainnet = void 0;
const js_core_1 = require("@broxus/js-core");
const everscale_inpage_provider_1 = require("everscale-inpage-provider");
const assets_1 = require("../misc/assets");
exports.everscaleMainnet = {
chainId: js_core_1.TvmChains.EverscaleMainnet.toString(),
currency: {
decimals: js_core_1.DEFAULT_NATIVE_CURRENCY_DECIMALS,
icon: assets_1.everAssetIcon,
name: 'EVER',
symbol: 'EVER',
wrappedCurrencyAddress: new everscale_inpage_provider_1.AddressLiteral('0:a49cd4e158a9a15555e624759e2e4e766d22600b7800d891e46f9291f044a93d'),
},
explorer: {
accountsSubPath: 'accounts',
baseUrl: 'https://everscan.io',
title: 'EVERScan',
transactionsSubPath: 'transactions',
},
icon: assets_1.everscaleMainnetIcon,
id: `tvm:${js_core_1.TvmChains.EverscaleMainnet}`,
name: 'Everscale',
rpcUrl: 'https://jrpc.everwallet.net',
shortName: 'Everscale',
type: 'tvm',
};
exports.venomMainnet = {
chainId: js_core_1.TvmChains.VenomMainnet.toString(),
currency: {
decimals: js_core_1.DEFAULT_NATIVE_CURRENCY_DECIMALS,
icon: assets_1.venomAssetIcon,
name: 'VENOM',
symbol: 'VENOM',
wrappedCurrencyAddress: new everscale_inpage_provider_1.AddressLiteral('0:77d36848bb159fa485628bc38dc37eadb74befa514395e09910f601b841f749e'),
},
explorer: {
accountsSubPath: 'accounts',
baseUrl: 'https://venomscan.com',
title: 'VenomScan',
transactionsSubPath: 'transactions',
},
icon: assets_1.venomMainnetIcon,
id: `tvm:${js_core_1.TvmChains.VenomMainnet}`,
name: 'Venom Mainnet',
rpcUrl: 'https://jrpc.venom.foundation',
shortName: 'Venom',
type: 'tvm',
};
exports.tychoTestnet = {
chainId: js_core_1.TvmChains.TychoTestnet.toString(),
currency: {
decimals: js_core_1.DEFAULT_NATIVE_CURRENCY_DECIMALS,
icon: assets_1.tychoAssetIcon,
name: 'TYCHO Testnet',
symbol: 'TYCHO',
wrappedCurrencyAddress: new everscale_inpage_provider_1.AddressLiteral('0:8233ae1a3a94f77a9b12ab9b07f37923144fb78a7a8c582a5e3e2ed86cb40ced'),
},
explorer: {
accountsSubPath: 'accounts',
baseUrl: 'https://testnet.tychoprotocol.com',
title: 'Tycho Testnet Explorer',
transactionsSubPath: 'transactions',
},
icon: assets_1.tychoTestnetIcon,
id: `tvm:${js_core_1.TvmChains.TychoTestnet}`,
name: 'Tycho Testnet',
rpcUrl: 'https://rpc-testnet.tychoprotocol.com/',
shortName: 'Tycho Testnet',
type: 'tvm',
};
exports.hamsterMainnet = {
chainId: js_core_1.TvmChains.HamsterMainnet.toString(),
currency: {
decimals: js_core_1.DEFAULT_NATIVE_CURRENCY_DECIMALS,
icon: assets_1.hamsterAssetIcon,
name: 'HMSTR',
symbol: 'HMSTR',
wrappedCurrencyAddress: new everscale_inpage_provider_1.AddressLiteral('0:39b50cd546326f132e57ce3d6c488d08cb3900dc309a53681b82216993384546'),
},
explorer: {
accountsSubPath: 'accounts',
baseUrl: 'https://hamsterscan.io',
title: 'Hamster Scan',
transactionsSubPath: 'transactions',
},
icon: assets_1.hamsterMainnetIcon,
id: `tvm:${js_core_1.TvmChains.HamsterMainnet}`,
name: 'Hamster Network',
rpcUrl: 'https://rpc.hamster.network/',
shortName: 'Hamster Network',
type: 'tvm',
};
exports.tonMainnet = {
chainId: '-239',
currency: {
decimals: js_core_1.DEFAULT_NATIVE_CURRENCY_DECIMALS,
icon: assets_1.tonAssetIcon,
name: 'TON',
symbol: 'TON',
wrappedCurrencyAddress: new everscale_inpage_provider_1.AddressLiteral('0:cacda65ac0ea5953338c90dcc7af28e3a81a35f83497a28f31eb8f27ed420611'),
},
explorer: {
accountsSubPath: null,
baseUrl: 'https://tonviewer.com',
title: 'TonViewer',
tokensSubPath: null,
transactionsSubPath: 'transaction',
},
icon: assets_1.tomMainnetIcon,
id: 'tvm:-239',
name: 'TON Mainnet',
rpcUrl: 'https://jrpc-ton.broxus.com',
shortName: 'TON',
type: 'tvm',
};
exports.humoMainnet = {
chainId: js_core_1.TvmChains.HumoMainnet.toString(),
currency: {
decimals: js_core_1.DEFAULT_NATIVE_CURRENCY_DECIMALS,
icon: assets_1.humoAssetIcon,
name: 'HUMO',
symbol: 'HUMO',
wrappedCurrencyAddress: new everscale_inpage_provider_1.AddressLiteral('0:ee49dd4c3a7754ace683612e5f9d06508ff13acb4055168fada912af25919271'),
},
explorer: {
accountsSubPath: 'accounts',
baseUrl: 'https://humoscan.com',
title: 'Humo Scan',
transactionsSubPath: 'transactions',
},
icon: assets_1.humoMainnetIcon,
id: `tvm:${js_core_1.TvmChains.HumoMainnet}`,
name: 'Humo',
rpcUrl: 'https://rpc.humonetwork.com/',
shortName: 'Humo',
type: 'tvm',
};
;