---
updatedAt: 2026-10-22T14:16:49.000Z
agentTools:
  projectIndex: https://docs.rayls.com/llms.txt
---

# 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**

| Feature                | Detail                               |
| ---------------------- | ------------------------------------ |
| Consensus              | **Axyl** (Rayls consensus algorithm) |
| Execution Client       | **Reth**                             |
| Virtual Machine        | **EVM (fully compatible)**           |
| Address Format         | Standard Ethereum `0x...` addresses  |
| Gas Token              | `USDr`                               |
| JSON-RPC Compatibility | Fully aligned with Ethereum          |

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

**Mainnet Network Information**

| Network       | Chain ID | RPC Endpoint                     | Explorer                      | Bridge                                                                                      | Gas Token |
| ------------- | -------- | -------------------------------- | ----------------------------- | ------------------------------------------------------------------------------------------- | --------- |
| Rayls Mainnet | `72957`  | `https://mainnet-rpc.rayls.com/` | <https://explorer.rayls.com/> | [Get $USDr](https://dapp.rayls.com/gas-token) [Stargate.Finance](https://stargate.finance/) | `USDr`    |

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**

| Network       | Chain ID  | RPC Endpoint                     | Explorer                              | Faucet                                  | Gas Token |
| ------------- | --------- | -------------------------------- | ------------------------------------- | --------------------------------------- | --------- |
| Rayls Testnet | `7295799` | `https://testnet-rpc.rayls.com/` | <https://testnet-explorer.rayls.com/> | <https://dapp-testnet.rayls.com/faucet> | `USDr`    |

**Tooling Compatibility**

| Tooling                       | Status                           |
| ----------------------------- | -------------------------------- |
| 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.