Networks & RPCs

Networks

GenLayer operates as two layers: the GenLayer RPC handles intelligent contract operations (gen_* methods), while the GenLayer Chain is the underlying L2 (zkSync Elastic Chain) that handles standard Ethereum operations (eth_* methods). The GenLayer RPC also passes through all eth_* and zks_* calls to the underlying chain β€” but wallets like MetaMask validate a new network by calling net_version, which the GenLayer RPC does not implement (only eth_chainId), so adding the network to a wallet only works against the GenLayer Chain RPC, not the GenLayer RPC.

For the full RPC reference, see GenLayer Node API.

Use the GenLayer Chain RPC to add the network to a wallet like MetaMask (below) β€” use the GenLayer RPC for the CLI, SDKs, and any tooling that calls intelligent-contract (gen_*) methods.


Testnet Bradbury

Production-like testnet with real AI/LLM workloads.

SettingValue
GenLayer RPChttps://rpc-bradbury.genlayer.com
GenLayer Chain RPChttps://rpc.testnet-chain.genlayer.com
Chain ID4221
CurrencyGEN
Explorerexplorer-bradbury.genlayer.com (opens in a new tab)
Chain Explorerexplorer.testnet-chain.genlayer.com (opens in a new tab)
Faucettestnet-faucet.genlayer.foundation (opens in a new tab)

Testnet Asimov

Infrastructure and stress testing.

SettingValue
GenLayer RPChttps://rpc-asimov.genlayer.com
GenLayer Chain RPChttps://rpc.testnet-chain.genlayer.com
Chain ID4221
CurrencyGEN
Explorerexplorer-asimov.genlayer.com (opens in a new tab)
Chain Explorerexplorer.testnet-chain.genlayer.com (opens in a new tab)
Faucettestnet-faucet.genlayer.foundation (opens in a new tab)

Studionet

Hosted development environment β€” no local setup required.

SettingValue
GenLayer RPChttps://studio.genlayer.com/api
Chain ID61999
CurrencyGEN
Explorerexplorer-studio.genlayer.com (opens in a new tab)
FaucetBuilt-in β€” use the πŸ’§ button in the account selector

Localnet

Local development with full control. Requires GenLayer Studio or GLSim.

SettingValue
GenLayer RPChttp://localhost:4000/api
Chain ID61127
CurrencyGEN
ExplorerBundled with Studio at http://localhost:8080
FaucetBuilt-in β€” use the πŸ’§ button in the account selector

GenLayer Chain (L2)

The underlying zkSync Elastic Chain that GenLayer runs on β€” the same endpoint used by the Bradbury and Asimov "Add to wallet" buttons above, since it's what wallets like MetaMask need for network validation. You typically don't need to call it directly for development β€” the GenLayer RPC passes through all eth_* calls β€” but it's the one to point a wallet at, and it's useful for direct L2 access (e.g., token transfers, contract debugging at the EVM level).

SettingValue
RPChttps://rpc.testnet-chain.genlayer.com
Chain ID4221
CurrencyGEN
Explorerexplorer.testnet-chain.genlayer.com (opens in a new tab)

Network Comparison

BradburyAsimovStudionetLocalnet
PurposeProduction-like testingInfrastructure testingHosted devLocal dev
SetupNone β€” connect and goNone β€” connect and goNone β€” browser onlyDocker or GLSim
PersistencePersistentPersistentTemporaryLocal only
LLM executionReal modelsReal modelsReal modelsConfigurable
FaucetAvailable (opens in a new tab)Available (opens in a new tab)Built-in (πŸ’§ button)Built-in (πŸ’§ button)

Recommended Flow

  1. Start on Studionet β€” zero setup, open studio.genlayer.com (opens in a new tab)
  2. Move to Localnet β€” when you need full control and fast iteration
  3. Deploy to Bradbury β€” when ready for production-like testing with real AI workloads