Concha Docs
  • Greetings to Concha Docs
  • About Concha
    • What is Concha?
    • Consumer chain as Layer 3 on Bitcoin
    • Concha Features
  • Users
    • Onboarding
      • Install MetaMask
      • Add to MetaMask
      • Bridge assets
      • Faucet tBTC
    • Community
  • Developers
    • Quick start
      • Connect to Concha
      • Bridge assets
      • Faucet tBTC
    • Fully on-chain games
      • MUD framework
    • dApp
      • Write a contract
      • Deploy with Foundry
      • Deploy with Hardhat
      • Verify a contract
  • Reference
    • Polygon CDK
    • Celestia
    • ERC-4337: Account Abstraction
Powered by GitBook
On this page
  1. Developers
  2. Fully on-chain games

MUD framework

PreviousFully on-chain gamesNextdApp

Last updated 1 year ago

MUD is a framework for ambitious onchain applications. It reduces the complexity of building apps with a tightly integrated software stack. It's and .

Deploy MUD to Concha Network

Update to the latest foundry version.

foundryup

At present, MUD does not fully support zkEVM version. We have modified some packages to be able to deploy MUD contracts to zkEVM. If you are using the MUD framework, please see the instructions below to deploy your game to Concha testnet:

Step 1: Move to packages/contracts folder and clean the folder.

Step 2: Edit the package.json file, then replace the dependencies below:

"@latticexyz/cli": "npm:@concha-network/cli@2.0.0-next.17-batched",
"@latticexyz/world": "npm:@concha-network/world@2.0.0-next.17",
"@latticexyz/world-modules": "npm:@concha-network/world-modules@2.0.0-next.17"

Step 3: Install the dependencies

pnpm install

Step 4: Add Concha network profile. Edit the foundry.toml file, then add configurations below:

solc = "0.8.24" // upgrade solidity version to 0.8.24

// Add the Concha testnet profile
[profile.concha-testnet]
eth_rpc_url = "https://testnet-rpc.concha.network"
pnpm run build && mud deploy --profile=concha-testnet

Wait for the contracts to be deployed.

Step 4: Deploy to Concha testnet. Faucet native token .

here
Ethereum
open source
free to use
What is MUD? – MUD
Logo