|
| 1 | +import { chainConfig } from "viem/op-stack"; |
| 2 | +import { MUDChain } from "./types"; |
| 3 | +import { Chain } from "viem"; |
| 4 | + |
| 5 | +const sourceId = 11155111; |
| 6 | + |
| 7 | +const defaultRpcUrls = { |
| 8 | + http: ["https://rpc.pyropechain.com"], |
| 9 | + webSocket: ["wss://rpc.pyropechain.com"], |
| 10 | +} as const satisfies Chain["rpcUrls"]["default"]; |
| 11 | + |
| 12 | +export const pyrope = { |
| 13 | + ...chainConfig, |
| 14 | + name: "Pyrope Testnet", |
| 15 | + testnet: true, |
| 16 | + id: 695569, |
| 17 | + sourceId, |
| 18 | + nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 }, |
| 19 | + rpcUrls: { |
| 20 | + default: defaultRpcUrls, |
| 21 | + bundler: defaultRpcUrls, |
| 22 | + quarryPassIssuer: defaultRpcUrls, |
| 23 | + wiresaw: defaultRpcUrls, |
| 24 | + }, |
| 25 | + contracts: { |
| 26 | + ...chainConfig.contracts, |
| 27 | + l1StandardBridge: { |
| 28 | + [sourceId]: { |
| 29 | + address: "0xC24932c31D9621aE9e792576152B7ef010cFC2F8", |
| 30 | + }, |
| 31 | + }, |
| 32 | + }, |
| 33 | + blockExplorers: { |
| 34 | + default: { |
| 35 | + name: "Blockscout", |
| 36 | + url: "https://explorer.pyropechain.com", |
| 37 | + }, |
| 38 | + worldsExplorer: { |
| 39 | + name: "MUD Worlds Explorer", |
| 40 | + url: "https://explorer.mud.dev/pyrope/worlds", |
| 41 | + }, |
| 42 | + }, |
| 43 | + iconUrls: ["https://lattice.xyz/brand/color/pyrope.svg"], |
| 44 | + indexerUrl: "https://indexer.mud.pyropechain.com", |
| 45 | +} as const satisfies MUDChain; |
0 commit comments