How to: Build for the Rayls Public Chain

Rayls is a public EVM chain that runs the Axyl consensus algorithm on the Reth execution client. Rayls is 100% EVM compatible, which means any Ethereum contracts, tooling or wallets work without modification.

This guide explains how to deploy, interact, and build on Rayls.

Key Properties

FeatureDetail
ConsensusAxyl (Rayls consensus algorithm)
Execution ClientReth
Virtual MachineEVM (fully compatible)
Address FormatStandard Ethereum 0x... addresses
Gas TokenUSDr
JSON-RPC CompatibilityFully aligned with Ethereum

No new tooling is required. If it works on Ethereum, it works on Rayls.

Mainnet Network Information

NetworkChain IDRPC EndpointExplorerBridgeGas Token
Rayls Mainnet72957https://mainnet-rpc.rayls.com/https://explorer.rayls.com/Get $USDr Stargate.FinanceUSDr

Key token addresses:

  • USDr: 0x0000000000000000000000000000000000000400. Note that USDr is the native gas token and an ERC-20 token at the same time, which is achieved through a custom pre-compile.
  • RLS: 0x07e17E17e17E17e17e17e17E17E17E17E17e17EA

Testnet Network Information

NetworkChain IDRPC EndpointExplorerFaucetGas Token
Rayls Testnet7295799https://testnet-rpc.rayls.com/https://testnet-explorer.rayls.com/https://devnet-dapp.rayls.com/USDr

Tooling Compatibility

ToolingStatus
Foundry✅ Supported
Hardhat✅ Supported
Truffle✅ Supported
Remix✅ Supported (connect custom RPC)
Wagmi / Viem / Ethers.js✅ Supported
WalletConnect✅ Supported
Rabby / MetaMask / OKX Wallet✅ Supported

Deploy using Foundry

forge create --rpc-url https://mainnet-rpc.rayls.com --private-key <PRIVATE_KEY> src/MyContract.sol:MyContract

Deploy using Hardhat

hardhat.config.js:

module.exports = { networks: { rayls: { url: "https://mainnet-rpc.rayls.com", accounts: [process.env.PRIVATE_KEY] } } };

Deploy:

npx hardhat run scripts/deploy.js --network rayls

Summary

Rayls is an Axyl-powered EVM chain that supports standard Ethereum contract deployment and the developer workflows that go with it, so if you know how to build on Ethereum you already know how to build on Rayls. There are no new languages to learn and no new frameworks to adopt, and you can deploy straight away.


Did this page help you?