Recommended Deployment Settings
These are our recommended settings for deploying MUD applications on a production network, such as Redstone (opens in a new tab).
Before the deployment
- Make sure you are using the latest MUD version (opens in a new tab).
- To make the
World
's core contract upgradeable (opens in a new tab), setdeploy.upgradeableWorldImplementation
totrue
in themud.config.ts
file. - When writing the client use chain configs from
@latticexyz/common/chains
(opens in a new tab): Garnet (the testnet) (opens in a new tab) and Redstone (the production network) (opens in a new tab).
During the deployment
If possible, deploy using AWS KMS. If not, transfer ownership (opens in a new tab) of the root namespace to AWS KMS or a multi-sig wallet as early as possible.
After the deployment
- Verify the contracts as soon as possible after deployment.