Skip to Content
Packages@tuwaio/orbit-coreEnumerationsOrbitAdapter

OrbitAdapter

Defined in: types.ts:33 

Defines the supported blockchain adapters in the Orbit system. Each adapter corresponds to a specific blockchain architecture and implements the necessary interfaces for that chain’s functionality.

Example

// Using adapter types in configuration const config = { chainType: OrbitAdapter.EVM, // other configuration... }; // Checking adapter compatibility if (chainType === OrbitAdapter.SOLANA) { // Solana-specific logic }

Enumeration Members

EVM

EVM: "evm"

Defined in: types.ts:43 

For Ethereum Virtual Machine (EVM) compatible chains. Supports networks like:

  • Ethereum Mainnet
  • Polygon
  • Binance Smart Chain
  • Avalanche
  • Other EVM-compatible L1/L2 chains

SOLANA

SOLANA: "solana"

Defined in: types.ts:52 

For the Solana blockchain. Supports:

  • Solana Mainnet
  • Devnet
  • Testnet

Starknet

Starknet: "starknet"

Defined in: types.ts:63 

For the Starknet L2 network. Supports:

  • Starknet Mainnet
  • Starknet Sepolia testnet
  • Other Starknet deployments

Reserved for future use: no Orbit chain package implements Starknet yet.

Last updated on