← Protocols
GalaChain
Other Chain·GalaChain · Ethereum

GalaChain

01Description

Gala Games' permissioned, gaming-focused L1 built on Hyperledger Fabric. GalaChain runs TypeScript chaincode (smart contracts) on a federated validator set operated by Gala Founder's Nodes, with a separate bridge to Ethereum/EVM. The GalaChain SDK ships chaincode templates, a local devnet (Docker), and `@gala-chain/connect` — an ethers.js-style client for browsers and MetaMask.

02Best for
  • 01Gala Games ecosystem titles (Champions Arena, Spider Tanks, etc.)
  • 02TypeScript chaincode for in-game economies
  • 03permissioned high-throughput game txs with EVM bridge
  • 04studios already partnered with Gala distribution
  • 05$GALA-denominated rewards and tournaments
03Install
  • pnpm add @gala-chain/connect @gala-chain/api
  • npx @gala-chain/cli init my-chaincode
04Environment variables
VariableScopeDescription
NEXT_PUBLIC_GALACHAIN_GATEWAY_URLClientGalaChain gateway / channel URL (e.g. https://gateway-mainnet.galachain.com).
GALACHAIN_PRIVATE_KEYServerServer-side signing key for chaincode submissions.
05Prompt snippet
Scaffold chaincode with `npx @gala-chain/cli init` and write contracts in TypeScript that extend `GalaContract`; deploy to a local Hyperledger Fabric devnet (`npm run network:up`) before pushing to a Gala Founder's Node channel. From the browser, use `@gala-chain/connect` (`new BrowserConnectClient()` with MetaMask, or `WalletConnectClient`) to call `client.submit({ method, payload })` against your chaincode — signatures use secp256k1 like Ethereum, but txs are submitted to GalaChain's gateway, not an EVM JSON-RPC. Bridging $GALA / GalaChain assets to Ethereum uses Gala's official bridge with custodial settlement; do not assume EVM tooling (etherscan, viem) works against GalaChain directly.
06Gotchas
  • GalaChain is Hyperledger Fabric-based, not EVM — Solidity, viem, and most Web3 tooling do not work; you must write TypeScript chaincode and use `@gala-chain/connect` from the client.
  • Validators are 'Founder's Nodes' operated by Gala Games and licensed NFT holders — the network is permissioned, censorable by Gala, and not secured by Ethereum-equivalent economics.
  • Bridging $GALA between GalaChain and Ethereum is custodial via Gala's bridge service with manual KYC on larger amounts; cross-chain settlement is not atomic and can take hours, sometimes days.
  • Gas is paid in $GALA on GalaChain; players need a $GALA balance even for trivial txs — the SDK does not auto-fund accounts, so onboarding flows must seed new players with enough $GALA.
  • Game engine integration is REST/WebSocket only — there is no official Unity or Unreal plugin, so studios must wrap the GalaChain HTTP API themselves or proxy through their backend.
  • Withdrawal of in-game assets (NFTs minted on GalaChain) to a self-custody EVM wallet requires a wrap step through the bridge; some asset types are non-bridgeable by policy and stay GalaChain-native forever.
07Alternatives