Conversation
Still need to do deployments to Lattice's test blockchain
|
…/mud into 230825-deploy2testnet
|
|
||
|  | ||
|
|
||
| #### Wallet-managed address |
There was a problem hiding this comment.
Note for context: we'll hopefully have a better default client setup with support for external wallets and for creating session wallets soon.
| import { <network> } from "viem/chains"; | ||
|
|
||
| <network>.rpcUrls.default.http = [ '<URL to access the blockchain through HTTP(S)>' ] | ||
| <network>.rpcUrls.default.webSocket = [ '<URL to access the blockchain through WebSocket>' ] |
There was a problem hiding this comment.
We shouldn't encouraging overriding RPCs like this.
If folks have a specific RPC URL to use, they should override it at the transport level like
transport: fallback([http(someUrl), webSocket(someUrl)])|
|
||
| ```ts filename="packages/client/src/mud/supportedChains.ts" copy showLineNumbers {2,4-5,8} | ||
| import { MUDChain, latticeTestnet, mudFoundry } from "@latticexyz/common/chains"; | ||
| import { <network> } from "viem/chains"; |
There was a problem hiding this comment.
since we use sepolia below, should we just import sepolia here?
Either the Lattice test network or a third party.