4. Deploy to testnet

5. Deploy to testnet

Lattice provides a testnet you can deploy to with one-second block times. This is a great way to share your game with others.

We recommend reading the full deployment guide to learn more about the Obelisk deploy process and our testnets.

Deploy the contracts

From your project root directory, you'll run pnpm run dev to deploy them to the testnet. You may need to provide the testnet RPC URL, as well as your deployer's private key. Make sure to use the faucet to get some testnet ether!

Deploy the client

We still have a few kinks to work out in Obelisk to make deploying the client as easy as possible, but you can still build and deploy manually.

From your root directory, you'll run pnpm build to build the client. Then, you can deploy the packages/client/dist directory to a static hosting service like Netlify (opens in a new tab) or Cloudflare Pages (opens in a new tab).

We'll be adding more deploy guides for providers like Vercel (opens in a new tab) in the near future. Stay tuned!

Code Github

https://github.com/0xobelisk/constantinople/tree/main (opens in a new tab)

Test address

https://constantinople-pearl.vercel.app/ (opens in a new tab)