Skip to content

docs: deploy to a test network#1369

Merged
alvrs merged 7 commits intomainfrom
230825-deploy2testnet
Sep 6, 2023
Merged

docs: deploy to a test network#1369
alvrs merged 7 commits intomainfrom
230825-deploy2testnet

Conversation

@qbzzt
Copy link
Contributor

@qbzzt qbzzt commented Aug 30, 2023

Either the Lattice test network or a third party.

Still need to do deployments to Lattice's test blockchain
@changeset-bot
Copy link

changeset-bot bot commented Aug 30, 2023

⚠️ No Changeset found

Latest commit: 65b1f98

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@qbzzt qbzzt marked this pull request as ready for review August 30, 2023 21:43
@qbzzt qbzzt requested review from alvrs and frolic as code owners August 30, 2023 21:43
@qbzzt qbzzt changed the title docs: Deploy to a test network docs: deploy to a test network Sep 6, 2023

![](../../get-addr-mud-dev-tools.png)

#### Wallet-managed address
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note for context: we'll hopefully have a better default client setup with support for external wallets and for creating session wallets soon.

Copy link
Member

@alvrs alvrs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢

@alvrs alvrs merged commit 446fdc7 into main Sep 6, 2023
@alvrs alvrs deleted the 230825-deploy2testnet branch September 6, 2023 13:49
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>' ]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since we use sepolia below, should we just import sepolia here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants