Primodium DeveloperFollowFollow (opens in a new tab)
GitHubGitHub (opens in a new tab)
  • Topics
  • Introduction
  • Solana Packages
  • DEX Indexer Stack
    • GraphQL Server
    • Transaction Indexer
  • Sponsoring Trades
  • Tub iOS Trading App
    • Token Dashboard
    • iOS Trading Client
  • Ethereum Packages
  • Reactive Tables
  • Gasless Transactions
  • Primodium Indexer
  • Unreal Engine MUD
  • Primodium: Empires
  • Quickstart
  • Primodium
  • Quickstart
  • Latest Release
  • Game Guide
  • Source
    • Contract Tables
    • Contract Systems
    • Prototype Configs
    • Prototype Generation
  • Contracts
    • Tables
    • Systems
    • Hooks
  • Client
    • Primodium Game Tools
    • Account Authorization
    • Client Core
    • Client Templates
    • GraphQL Dashboards
  • Primodium Protocol
  • World Extensions
    • Setup
    • Structure
      • Access Control
      • Delegation
      • Suggested Patterns
    • Testing
    • Deploy
    • Open Ideas
    • Footguns
    • ReadDemo
      • Quickstart
      • Getting Started
      • Create Tables
      • Create Systems
      • Test Systems
      • Test Deploy
      • Deploy
      • Interact
    • WriteDemo
      • Quickstart
      • Getting Started
      • Create Tables
      • Create Systems
      • Libraries
      • Test Systems
      • Test Deploy
      • Deploy
      • Interact
    • Upgrade Bounty
Question? Give us feedback → (opens in a new tab)Edit this page
Examples
WriteDemo
Create Tables

Create Extension Tables

This should all be familiar from the ReadDemo.

examples/WriteDemo/packages/contracts/mud.config.ts
import { defineWorld } from "@latticexyz/world";
 
export default defineWorld({
  namespace: "PluginExamples",
  systems: {
    WriteDemoSystem: {
      name: "WriteDemoSystem",
      openAccess: true,
    },
  },
  tables: {},
});

More details on MUD Config can be found here (opens in a new tab).

Getting StartedCreate Systems

© 2024 Primodium