What problem does it solve?
Building MUD applications in .NET requires manually writing C# bindings for MUD tables, systems, and World contracts, which is error-prone and repetitive. This Skill guides developers through defining tables, generating typed C# code, and interacting with World contracts using Nethereum.
Core Features & Use Cases
- Code Generation from MUD Config: Generate TableRecord and TableService classes from
mud.config.ts using the Nethereum.Generator.Console CLI with generator types like MudTables and MudExtendedService.
- Typed Table CRUD Operations: Read, write, and delete keyed or singleton table records through generated services such as
TableService<TRecord, TKey, TValue>.
- Namespace Aggregation Pattern: Organize generated systems and tables into namespace classes via
NamespaceBase<TResource, TSystems, TTables> for production applications.
- Use Case: A developer building an on-chain game defines player tables in
mud.config.ts, generates C# services, then reads and updates player scores through the typed PlayerTableService against a deployed World contract.
Quick Start
Ask the assistant to generate C# table services from your mud.config.ts and show how to read and write records on your MUD World contract using Nethereum.