Supported networks

Supported Networks

Typink comes with built-in support for many well-known Substrate networks, ready to use out of the box. You can also define and register your own custom networks.

Typink supports two types of smart contract platforms:

  • ink! v4/v5 (WASM) - Contracts running on pallet-contracts using WebAssembly

  • ink! v6/Solidity (PolkaVM) - Contracts running on pallet-revive using PolkaVM

Smart Contract Support Overview

Contract Type
Technology
Networks

ink! v4/v5

WASM (pallet-contracts)

alephZero, astar, shiden, popTestnet, alephZeroTestnet, shibuyaTestnet

ink! v6 / Solidity

PolkaVM (pallet-revive)

popTestnet, passetHub, westendAssetHub, kusamaAssetHub

Note: popTestnet supports both contract types.

Well-Known Supported Networks

Mainnet

Typink provides built-in support for the following mainnet networks:

ink! v4/v5 Networks (WASM, pallet-contracts)

  • alephZero - Aleph Zero

  • astar - Astar

  • shiden - Shiden

ink! v6/Solidity Networks (PolkaVM, pallet-revive)

  • kusamaAssetHub - Kusama Asset Hub

Polkadot

  • polkadot - Polkadot Relay Chain

  • polkadotAssetHub - Polkadot Asset Hub

  • polkadotPeople - Polkadot People Chain

Kusama

  • kusama - Kusama Relay Chain

  • kusamaPeople - Kusama People Chain

Other Networks

  • hydration - Hydration

  • basilisk - Basilisk

  • vara - Vara Network

Example Usage:

Testnet

Typink provides built-in support for the following testnet networks:

ink! v4/v5 Testnets (WASM, pallet-contracts)

  • popTestnet - POP Network Testnet (supports both WASM and PolkaVM)

  • alephZeroTestnet - Aleph Zero Testnet

  • shibuyaTestnet - Shibuya Testnet

ink! v6/Solidity Testnets (PolkaVM, pallet-revive)

  • popTestnet - POP Network Testnet (supports both WASM and PolkaVM)

  • passetHub - Passet Hub

  • westendAssetHub - Westend Asset Hub

Westend

  • westend - Westend Testnet

  • westendPeople - Westend People Chain

Paseo

  • paseo - Paseo Testnet

  • paseoPeople - Paseo People Chain

  • paseoAssetHub - Paseo Asset Hub

  • paseoHydration - Paseo Hydration

Example Usage:

Development

For local development with a Substrate node:

  • development - Local Development Network (ws://127.0.0.1:9944)

Example Usage:

Define & Register Custom Network Info

You can define a new network info following the NetworkInfo interface:

Basic Custom Network Example

For a basic custom network:

Custom Network with Light Client Support

To add light client support to your custom network:

Custom Parachain with Light Client Support

For parachains, you must specify the relay chain:

Register Custom Network

Once defined, register your custom network with Typink:

You can also combine custom networks with built-in networks:

Network Properties

Required Properties

  • id - Unique network identifier

  • name - Human-readable network name

  • logo - URL to network logo

  • providers - Array of RPC endpoint URLs

  • symbol - Native token symbol

  • decimals - Native token decimals

Optional Properties

  • type - Network type (mainnet, testnet, devnet)

  • subscanUrl - Subscan explorer URL

  • pjsUrl - Polkadot.js Apps URL

  • faucetUrl - Faucet URL for testnets

  • jsonRpcApi - RPC API version (new or legacy)

  • chainSpec - Chain specification for light client support

  • relayChain - Parent relay chain for parachains (required for parachain light clients)

Last updated

Was this helpful?