Skip to content

Commit

Permalink
Add default urls for omega in playground
Browse files Browse the repository at this point in the history
  • Loading branch information
texuf committed Sep 6, 2024
1 parent e34166d commit 43c0d9b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/sdk/src/riverConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ function getBaseRpcUrlForChain(chainId: number): string {
return 'http://localhost:8545'
case 84532:
return 'https://sepolia.base.org'
case 8453:
return 'https://mainnet.base.org'
default:
throw new Error(`No preset RPC url for base chainId ${chainId}`)
}
Expand All @@ -51,6 +53,8 @@ function getRiverRpcUrlForChain(chainId: number): string {
return 'http://localhost:8546'
case 6524490:
return 'https://devnet.rpc.river.build'
case 550:
return 'https://mainnet.rpc.river.build'
default:
throw new Error(`No preset RPC url for river chainId ${chainId}`)
}
Expand Down

0 comments on commit 43c0d9b

Please sign in to comment.