diff --git a/.changeset/spicy-keys-flash.md b/.changeset/spicy-keys-flash.md new file mode 100644 index 0000000..689f65e --- /dev/null +++ b/.changeset/spicy-keys-flash.md @@ -0,0 +1,5 @@ +--- +'@scio-labs/use-inkathon': patch +--- + +Add ternoa network (mainnet & testnet) diff --git a/src/chains.ts b/src/chains.ts index aeaf3b6..3f01c28 100644 --- a/src/chains.ts +++ b/src/chains.ts @@ -136,6 +136,18 @@ export const phalaPOC6Testnet: SubstrateChain = { faucetUrls: ['https://phala.network/faucet'], } +export const ternoaAlphanet: SubstrateChain = { + network: 'ternoa-alphanet', + name: 'Ternoa Alphanet', + ss58Prefix: 42, + rpcUrls: ['wss://alphanet.ternoa.com'], + testnet: true, + faucetUrls: ['https://faucet.ternoa.network'], + explorerUrls: { + [SubstrateExplorer.Other]: `https://explorer-alphanet.ternoa.dev`, + }, +} + /** * Live Canary Networks */ @@ -232,26 +244,38 @@ export const phala: SubstrateChain = { }, } +export const ternoa: SubstrateChain = { + network: 'ternoa', + name: 'Ternoa', + ss58Prefix: 42, + rpcUrls: ['wss://mainnet.ternoa.com'], + explorerUrls: { + [SubstrateExplorer.Other]: `https://explorer.ternoa.com`, + }, +} + /** * Exporting all chains separately */ export const allSubstrateChains: SubstrateChain[] = [ - development, - alephzeroTestnet, - rococo, - t0rnTestnet, - bitCountryAlphaTestnet, agungTestnet, - amplitudeTestnet, - phalaPOC6Testnet, - shibuya, - shiden, - amplitude, - khala, alephzero, + alephzeroTestnet, + amplitude, + amplitudeTestnet, astar, + bitCountryAlphaTestnet, + development, + khala, pendulum, phala, + phalaPOC6Testnet, + rococo, + shibuya, + shiden, + t0rnTestnet, + ternoa, + ternoaAlphanet, ] /** diff --git a/src/types/SubstrateChain.ts b/src/types/SubstrateChain.ts index 9e7d858..50a18a9 100644 --- a/src/types/SubstrateChain.ts +++ b/src/types/SubstrateChain.ts @@ -14,4 +14,5 @@ export interface SubstrateChain { export enum SubstrateExplorer { Subscan = 'subscan', PolkadotJs = 'polkadotjs', + Other = 'other', }