Nethereum.Mud.Contracts
6.0.4
Prefix Reserved
dotnet add package Nethereum.Mud.Contracts --version 6.0.4
NuGet\Install-Package Nethereum.Mud.Contracts -Version 6.0.4
<PackageReference Include="Nethereum.Mud.Contracts" Version="6.0.4" />
<PackageVersion Include="Nethereum.Mud.Contracts" Version="6.0.4" />
<PackageReference Include="Nethereum.Mud.Contracts" />
paket add Nethereum.Mud.Contracts --version 6.0.4
#r "nuget: Nethereum.Mud.Contracts, 6.0.4"
#:package Nethereum.Mud.Contracts@6.0.4
#addin nuget:?package=Nethereum.Mud.Contracts&version=6.0.4
#tool nuget:?package=Nethereum.Mud.Contracts&version=6.0.4
Nethereum.Mud.Contracts
Nethereum.Mud.Contracts provides contract definitions and services for interacting with MUD (Onchain Engine) World and Store contracts. It enables you to call MUD systems, query tables, and process Store events.
Features
- World Service - Interact with MUD World contract
- Store Services - Query and subscribe to Store events
- Table Services - Type-safe table query and mutation
- System Services - Call MUD system functions
- Event Processing - Process
Store_SetRecord,Store_DeleteRecord,Store_SpliceStaticData,Store_SpliceDynamicDataevents - Batch Calls - Efficient multi-call execution
- Access Control - Manage World permissions
Installation
dotnet add package Nethereum.Mud.Contracts
Dependencies
- Nethereum.Mud
- Nethereum.Web3
Key Concepts
World Contract
The World contract is the central registry for all MUD resources:
- Contains all namespaces, tables, and systems
- Provides
callandcallFromfor system execution - Manages access control via
grantAccessandrevokeAccess - Emits Store events for all state changes
Store Contract
The Store is embedded in the World and manages table data:
- Stores all table records as key-value pairs
- Emits events when data changes (
Store_SetRecord,Store_DeleteRecord) - Handles dynamic data via
Store_SpliceStaticDataandStore_SpliceDynamicData - Provides schema registration via
Tablestable
Store Events
MUD emits events for all state changes:
Store_SetRecord
- Emitted when a table record is created or updated
- Contains:
tableId,keyTuple,staticData,encodedLengths,dynamicData
Store_DeleteRecord
- Emitted when a table record is deleted
- Contains:
tableId,keyTuple
Store_SpliceStaticData
- Emitted when static data is partially updated
- Contains:
tableId,keyTuple,start,data
Store_SpliceDynamicData
- Emitted when dynamic data (arrays, strings) is partially updated
- Contains:
tableId,keyTuple,dynamicFieldIndex,start,deleteCount,encodedLengths,data
Table Services
Generated table services provide type-safe access to MUD tables:
- Query records by key
- Query all records
- Decode table schemas
- Built on top of World contract
System Services
Generated system services wrap MUD system functions:
- Type-safe function calls
- Automatic ABI encoding
- Integration with World's
callor direct system calls
World Contract Interaction
WorldService
The WorldService provides methods for interacting with the World contract:
public class WorldService
{
// Call a system
Task<TransactionReceipt> CallRequestAndWaitForReceiptAsync(
byte[] systemId,
byte[] callData
);
// Call a system with delegator
Task<TransactionReceipt> CallFromRequestAndWaitForReceiptAsync(
string delegator,
byte[] systemId,
byte[] callData
);
}
// Access control (AccessManagementSystemService)
public class AccessManagementSystemService
{
Task<TransactionReceipt> GrantAccessRequestAndWaitForReceiptAsync(
byte[] resourceId,
string grantee
);
Task<TransactionReceipt> RevokeAccessRequestAndWaitForReceiptAsync(
byte[] resourceId,
string grantee
);
}
// Batch calls (BatchCallSystemService)
public class BatchCallSystemService
{
Task<TransactionReceipt> BatchCallRequestAndWaitForReceiptAsync(
List<SystemCallData> systemCalls
);
}
Usage Examples
Example 1: Setup World Service
using Nethereum.Web3;
using Nethereum.Mud.Contracts.World;
var web3 = new Web3("https://rpc.mud.game");
var worldAddress = "0xWorldContractAddress";
var worldService = new WorldService(web3, worldAddress);
Console.WriteLine($"Connected to World at {worldAddress}");
Example 2: Call a MUD System
using Nethereum.Mud;
using Nethereum.Mud.Contracts.World;
using Nethereum.ABI.FunctionEncoding;
// Create resource ID for the system
var moveSystemResource = new SystemResource("Game", "MoveSystem");
var systemId = moveSystemResource.ResourceIdEncoded;
// Encode function call (e.g., move(direction))
var functionEncoder = new FunctionCallEncoder();
var moveFunction = new MoveFunction { Direction = 1 }; // Assuming generated function DTO
var callData = functionEncoder.EncodeRequest(moveFunction);
// Call the system via World
var receipt = await worldService.CallRequestAndWaitForReceiptAsync(
systemId,
callData
);
Console.WriteLine($"System called successfully. Tx: {receipt.TransactionHash}");
Example 3: Query MUD Table
using Nethereum.Mud;
using Nethereum.Mud.Contracts.Store;
// Assuming generated PlayerTableService
var playerTableService = new PlayerTableService(web3, worldAddress);
// Query single record by key
var playerId = 42;
var playerRecord = await playerTableService.GetTableRecordAsync(playerId);
Console.WriteLine($"Player: {playerRecord.Values.Name}");
Console.WriteLine($"Level: {playerRecord.Values.Level}");
Console.WriteLine($"Health: {playerRecord.Values.Health}");
Example 4: Query Store Events
using Nethereum.Mud.Contracts.Core.StoreEvents;
var storeEventsService = new StoreEventsLogProcessingService(web3, worldAddress);
// Get all SetRecord events
var setRecordEvents = await storeEventsService.GetAllSetRecord(
fromBlockNumber: 0,
toBlockNumber: null,
cancellationToken: CancellationToken.None
);
foreach (var log in setRecordEvents)
{
var evt = log.Event;
Console.WriteLine($"Record updated:");
Console.WriteLine($" TableId: {evt.TableId.ToHex()}");
Console.WriteLine($" Keys: {string.Join(", ", evt.KeyTuple.Select(k => k.ToHex()))}");
Console.WriteLine($" Block: {log.Log.BlockNumber.Value}");
}
// Get SetRecord events for a specific table
var playerTableId = new Resource("Game", "Player").ResourceIdEncoded;
var playerEvents = await storeEventsService.GetAllSetRecordForTable(
playerTableId,
fromBlockNumber: 0,
toBlockNumber: null,
cancellationToken: CancellationToken.None
);
Console.WriteLine($"Found {playerEvents.Count} player table events");
Example 5: Process Store Events to Repository
using Nethereum.Mud.Contracts.Core.StoreEvents;
using Nethereum.Mud.TableRepository;
// Create table repository
var playerRepository = new InMemoryTableRepository<PlayerTableRecord>();
// Setup event processing
var storeEventsService = new StoreEventsLogProcessingService(web3, worldAddress);
var progressRepository = new InMemoryBlockProgressRepository();
var processor = storeEventsService.CreateProcessor(
playerRepository,
progressRepository,
logger: null,
blocksPerRequest: 1000,
retryWeight: 50,
minimumBlockConfirmations: 12
);
// Start processing from block 0
await processor.ExecuteAsync(
startAtBlockNumberIfNotProcessed: 0,
cancellationToken: CancellationToken.None
);
Console.WriteLine("Store events processed to repository");
Example 6: Batch System Calls
using Nethereum.Mud.Contracts.World;
using Nethereum.Mud.Contracts.World.Systems.BatchCallSystem;
// Prepare multiple system calls
var systemCalls = new List<SystemCallData>
{
new SystemCallData
{
SystemId = moveSystemResource.ResourceIdEncoded,
CallData = EncodeMoveCall(direction: 1)
},
new SystemCallData
{
SystemId = attackSystemResource.ResourceIdEncoded,
CallData = EncodeAttackCall(targetId: 5)
},
new SystemCallData
{
SystemId = craftSystemResource.ResourceIdEncoded,
CallData = EncodeCraftCall(itemId: 10, quantity: 1)
}
};
// Execute all calls in one transaction via BatchCallSystemService
var batchCallService = new BatchCallSystemService(web3, worldAddress);
var receipt = await batchCallService.BatchCallRequestAndWaitForReceiptAsync(systemCalls);
Console.WriteLine($"Batch call successful. Gas used: {receipt.GasUsed.Value}");
Example 7: Grant and Revoke Access
using Nethereum.Mud;
using Nethereum.Mud.Contracts.World.Systems.AccessManagementSystem;
// Create resource ID for a table
var playerTableResource = new Resource("Game", "Player");
var tableId = playerTableResource.ResourceIdEncoded;
// Use AccessManagementSystemService for access control
var accessService = new AccessManagementSystemService(web3, worldAddress);
// Grant access to an address
var granteeAddress = "0xGranteeAddress";
var grantReceipt = await accessService.GrantAccessRequestAndWaitForReceiptAsync(
tableId,
granteeAddress
);
Console.WriteLine($"Access granted to {granteeAddress}");
// Revoke access
var revokeReceipt = await accessService.RevokeAccessRequestAndWaitForReceiptAsync(
tableId,
granteeAddress
);
Console.WriteLine($"Access revoked from {granteeAddress}");
Example 8: Deploy MUD World
using Nethereum.Mud.Contracts.World.ContractDefinition;
using Nethereum.Web3.Accounts;
var account = new Account("0xPrivateKey", chainId: 1);
var web3 = new Web3(account, "https://rpc.mud.game");
// Deploy World contract
var deploymentMessage = new WorldDeployment();
var deploymentReceipt = await WorldService.DeployContractAndWaitForReceiptAsync(
web3,
deploymentMessage
);
var worldAddress = deploymentReceipt.ContractAddress;
Console.WriteLine($"World deployed at: {worldAddress}");
Example 9: Register Custom Table
using Nethereum.Mud;
using Nethereum.Mud.EncodingDecoding;
// Define table schema
var playerTableResource = new Resource("Game", "Player");
var schema = SchemaEncoder.GetSchemaEncoded<PlayerKey, PlayerValue>(
playerTableResource.ResourceIdEncoded
);
// Register table via RegistrationSystemService
var registrationService = new RegistrationSystemService(web3, worldAddress);
var registerTableReceipt = await registrationService.RegisterTableRequestAndWaitForReceiptAsync(
tableId: playerTableResource.ResourceIdEncoded,
fieldLayout: schema.FieldLayout,
keySchema: schema.KeySchema,
valueSchema: schema.ValueSchema,
keyNames: new[] { "playerId" },
fieldNames: new[] { "name", "level", "health" }
);
Console.WriteLine($"Table registered: {playerTableResource.NameSpace}:{playerTableResource.Name}");
Example 10: Read Table Schema from Chain
using Nethereum.Mud.Contracts.Store.Tables;
// TablesTableService queries the on-chain Tables table
var tablesService = new TablesTableService(web3, worldAddress);
// Get schema for a specific table
var playerTableId = new Resource("Game", "Player").ResourceIdEncoded;
var tableRecord = await tablesService.GetTableRecordAsync(playerTableId);
var schema = tableRecord.GetTableSchema();
Console.WriteLine($"Table: {schema.Name}");
Console.WriteLine($"Namespace: {schema.Namespace}");
Console.WriteLine($"Keys: {string.Join(", ", schema.SchemaKeys.Select(k => k.Name))}");
Console.WriteLine($"Values: {string.Join(", ", schema.SchemaValues.Select(v => v.Name))}");
Core Classes
WorldService
public class WorldService : ContractWeb3ServiceBase
{
public WorldService(Web3 web3, string contractAddress);
// System calls
Task<TransactionReceipt> CallRequestAndWaitForReceiptAsync(
byte[] systemId,
byte[] callData
);
Task<TransactionReceipt> CallFromRequestAndWaitForReceiptAsync(
string delegator,
byte[] systemId,
byte[] callData
);
}
AccessManagementSystemService
public class AccessManagementSystemService
{
Task<TransactionReceipt> GrantAccessRequestAndWaitForReceiptAsync(
byte[] resourceId,
string grantee
);
Task<TransactionReceipt> RevokeAccessRequestAndWaitForReceiptAsync(
byte[] resourceId,
string grantee
);
}
BatchCallSystemService
public class BatchCallSystemService
{
Task<TransactionReceipt> BatchCallRequestAndWaitForReceiptAsync(
List<SystemCallData> systemCalls
);
}
RegistrationSystemService
public class RegistrationSystemService
{
Task<TransactionReceipt> RegisterTableRequestAndWaitForReceiptAsync(
byte[] tableId,
byte[] fieldLayout,
byte[] keySchema,
byte[] valueSchema,
string[] keyNames,
string[] fieldNames
);
}
StoreEventsLogProcessingService
public class StoreEventsLogProcessingService
{
public StoreEventsLogProcessingService(Web3 web3, string contractAddress);
// Query all SetRecord events
Task<List<EventLog<StoreSetRecordEventDTO>>> GetAllSetRecord(...);
Task<List<EventLog<StoreSetRecordEventDTO>>> GetAllSetRecordForTable(byte[] tableId, ...);
// Query all SpliceStaticData events
Task<List<EventLog<StoreSpliceStaticDataEventDTO>>> GetAllSpliceStaticData(...);
Task<List<EventLog<StoreSpliceStaticDataEventDTO>>> GetAllSpliceStaticDataForTable(byte[] tableId, ...);
// Process all store changes (SetRecord, DeleteRecord, SpliceStaticData, SpliceDynamicData)
Task ProcessAllStoreChangesAsync(ITableRepository tableRepository, ...);
Task ProcessAllStoreChangesAsync(ITableRepository tableRepository, byte[] tableId, ...);
Task ProcessAllStoreChangesAsync(ITableRepository tableRepository, string nameSpace, string tableName, ...);
}
Generated Table Service
Example of a generated table service:
public class PlayerTableService
{
public PlayerTableService(Web3 web3, string worldAddress);
// Query single record
Task<PlayerTableRecord> GetTableRecordAsync(BigInteger playerId);
// Query all records (via events)
Task<List<PlayerTableRecord>> GetTableRecordsAsync(
BigInteger? fromBlock = null,
BigInteger? toBlock = null
);
// Get table resource
Resource GetTableResource();
}
Store Event DTOs
[Event("Store_SetRecord")]
public class StoreSetRecordEventDTO : IEventDTO
{
[Parameter("bytes32", "tableId", 1, true)]
public byte[] TableId { get; set; }
[Parameter("bytes32[]", "keyTuple", 2, false)]
public List<byte[]> KeyTuple { get; set; }
[Parameter("bytes", "staticData", 3, false)]
public byte[] StaticData { get; set; }
[Parameter("bytes32", "encodedLengths", 4, false)]
public byte[] EncodedLengths { get; set; }
[Parameter("bytes", "dynamicData", 5, false)]
public byte[] DynamicData { get; set; }
}
[Event("Store_DeleteRecord")]
public class StoreDeleteRecordEventDTO : IEventDTO
{
[Parameter("bytes32", "tableId", 1, true)]
public byte[] TableId { get; set; }
[Parameter("bytes32[]", "keyTuple", 2, false)]
public List<byte[]> KeyTuple { get; set; }
}
Code Generation
Generate table and system services using .nethereum-gen.multisettings:
Configuration
{
"paths": ["mud.config.ts"],
"generatorConfigs": [
{
"baseNamespace": "MyGame.Tables",
"basePath": "../MyGame/Tables",
"generatorType": "MudTables"
},
{
"baseNamespace": "MyGame.Systems",
"basePath": "../MyGame/Systems",
"generatorType": "MudExtendedService"
}
]
}
Generated Output
MudTables generates:
PlayerTableRecord.gen.cs- Table record with Keys and ValuesPlayerTableService.gen.cs- Service for querying the table
MudExtendedService generates:
MoveSystemService.gen.cs- Service for calling system functions- Function DTOs for all system methods
Running Generation
# Install Nethereum code generator
npm install -g nethereum-codegen
# Generate C# code
nethereum-codegen generate
# Or use VS Code extension
# https://github.com/juanfranblanco/vscode-solidity
Event Processing Patterns
Pattern 1: Query and Process Events
var storeEventsService = new StoreEventsLogProcessingService(web3, worldAddress);
// Query all SetRecord events
var events = await storeEventsService.GetAllSetRecord(
fromBlockNumber: 0,
toBlockNumber: null,
cancellationToken: CancellationToken.None
);
foreach (var eventLog in events)
{
var evt = eventLog.Event;
// Update local repository
await UpdateRepositoryFromEvent(evt);
// Notify UI
await NotifyUIAsync(evt);
}
Pattern 2: Historical Event Processing
var storeEventsService = new StoreEventsLogProcessingService(web3, worldAddress);
var progressRepo = new InMemoryBlockProgressRepository();
var tableRepo = new InMemoryTableRepository<PlayerTableRecord>();
var processor = storeEventsService.CreateProcessor(
tableRepo,
progressRepo,
logger: null,
blocksPerRequest: 1000,
retryWeight: 50,
minimumBlockConfirmations: 12
);
// Process all historical events
await processor.ExecuteAsync(
startAtBlockNumberIfNotProcessed: 0,
cancellationToken: CancellationToken.None
);
Pattern 3: Process All Store Changes to Repository
var storeEventsService = new StoreEventsLogProcessingService(web3, worldAddress);
var tableRepo = new InMemoryTableRepository<PlayerTableRecord>();
// Process all store changes (SetRecord, DeleteRecord, SpliceStaticData, SpliceDynamicData)
await storeEventsService.ProcessAllStoreChangesAsync(
tableRepo,
fromBlockNumber: 0,
toBlockNumber: null,
cancellationToken: CancellationToken.None
);
// Or process changes for a specific table only
var playerTableId = new Resource("Game", "Player").ResourceIdEncoded;
await storeEventsService.ProcessAllStoreChangesAsync(
tableRepo,
playerTableId,
fromBlockNumber: 0,
toBlockNumber: null,
cancellationToken: CancellationToken.None
);
Advanced Topics
Custom Event Handlers
public class CustomEventHandler
{
public async Task HandleSetRecord(StoreSetRecordEventDTO evt)
{
// Custom logic for SetRecord
var tableId = evt.TableId.ToHex();
if (tableId == playerTableId)
{
await HandlePlayerUpdate(evt);
}
else if (tableId == inventoryTableId)
{
await HandleInventoryUpdate(evt);
}
}
}
Filtering Events by Table
var playerTableId = new Resource("Game", "Player").ResourceIdEncoded;
// Use GetAllSetRecordForTable to query events for a specific table
var playerEvents = await storeEventsService.GetAllSetRecordForTable(
playerTableId,
fromBlockNumber: 0,
toBlockNumber: null,
cancellationToken: CancellationToken.None
);
foreach (var eventLog in playerEvents)
{
// Only receives events for Player table
var playerEvent = eventLog.Event;
await HandlePlayerUpdate(playerEvent);
}
Handling Splice Events
// Query static data splice events
var spliceStaticEvents = await storeEventsService.GetAllSpliceStaticData(
fromBlockNumber: 0,
toBlockNumber: null,
cancellationToken: CancellationToken.None
);
foreach (var eventLog in spliceStaticEvents)
{
var evt = eventLog.Event;
Console.WriteLine($"Static data spliced:");
Console.WriteLine($" TableId: {evt.TableId.ToHex()}");
Console.WriteLine($" Start: {evt.Start}");
Console.WriteLine($" New data length: {evt.Data.Length}");
}
// Or use ProcessAllStoreChangesAsync to handle all event types
// (SetRecord, DeleteRecord, SpliceStaticData, SpliceDynamicData)
// and apply them to a table repository automatically
await storeEventsService.ProcessAllStoreChangesAsync(
tableRepository,
fromBlockNumber: 0,
toBlockNumber: null,
cancellationToken: CancellationToken.None
);
Production Patterns
1. Decentralized Game Client
// Initialize World connection
var worldService = new WorldService(web3, worldAddress);
// Load initial state from chain
var playerTable = new PlayerTableService(web3, worldAddress);
var players = await playerTable.GetTableRecordsAsync(fromBlock: 0);
// Subscribe to updates
var subscription = await SubscribeToStoreEvents(worldAddress);
// User action: Move player
var moveSystemResource = new SystemResource("Game", "MoveSystem");
await worldService.CallRequestAndWaitForReceiptAsync(
moveSystemResource.ResourceIdEncoded,
EncodeMoveCall(direction: 1)
);
2. MUD Indexer
// Continuously index all MUD events to database
var dbRepository = new PostgresTableRepository(connectionString);
var progressRepo = new PostgresBlockProgressRepository(connectionString);
var processor = storeEventsService.CreateProcessor(
dbRepository,
progressRepo,
logger,
blocksPerRequest: 1000,
retryWeight: 50,
minimumBlockConfirmations: 12
);
while (true)
{
try
{
await processor.ExecuteAsync(0);
}
catch (Exception ex)
{
logger.LogError(ex, "Indexer error, retrying...");
await Task.Delay(30000);
}
}
3. Multi-World Aggregator
// Query data from multiple MUD Worlds
var world1Service = new WorldService(web3, world1Address);
var world2Service = new WorldService(web3, world2Address);
var player1Table = new PlayerTableService(web3, world1Address);
var player2Table = new PlayerTableService(web3, world2Address);
// Aggregate player data from both worlds
var players1 = await player1Table.GetTableRecordsAsync();
var players2 = await player2Table.GetTableRecordsAsync();
var allPlayers = players1.Concat(players2).ToList();
Related Packages
Dependencies
- Nethereum.Mud - Core MUD types and table records
- Nethereum.Web3 - Ethereum client
Used By
- Nethereum.Mud.Repositories.EntityFramework - EF Core event processing
- Nethereum.Mud.Repositories.Postgres - PostgreSQL event processing
Related
- Nethereum.Contracts - Contract interaction base
Additional Resources
Support
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net451 is compatible. net452 was computed. net46 was computed. net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.5.1
- Nethereum.Mud (>= 6.0.4)
- Nethereum.Web3 (>= 6.0.4)
- Newtonsoft.Json (>= 11.0.2 && < 14.0.0)
-
.NETFramework 4.6.1
- Nethereum.Mud (>= 6.0.4)
- Nethereum.Web3 (>= 6.0.4)
- Newtonsoft.Json (>= 11.0.2 && < 14.0.0)
-
.NETStandard 2.0
- Nethereum.Mud (>= 6.0.4)
- Nethereum.Web3 (>= 6.0.4)
- NETStandard.Library (>= 2.0.3)
- Newtonsoft.Json (>= 11.0.2 && < 14.0.0)
-
net10.0
- Nethereum.Mud (>= 6.0.4)
- Nethereum.Web3 (>= 6.0.4)
- Newtonsoft.Json (>= 11.0.2 && < 14.0.0)
-
net6.0
- Nethereum.Mud (>= 6.0.4)
- Nethereum.Web3 (>= 6.0.4)
- Newtonsoft.Json (>= 11.0.2 && < 14.0.0)
-
net8.0
- Nethereum.Mud (>= 6.0.4)
- Nethereum.Web3 (>= 6.0.4)
- Newtonsoft.Json (>= 11.0.2 && < 14.0.0)
-
net9.0
- Nethereum.Mud (>= 6.0.4)
- Nethereum.Web3 (>= 6.0.4)
- Newtonsoft.Json (>= 11.0.2 && < 14.0.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Nethereum.Mud.Contracts:
| Package | Downloads |
|---|---|
|
Nethereum.Mud.Repositories.EntityFramework
Nethereum.Mud.Repositories.EntityFramework Nethereum Web3 Class Library providing the EF context Table Repositories to sync with the Store contracts of the Mud framework https://mud.dev/ (Encoding, Repositories, Resources, Schema, TableRecords) |
|
|
Nethereum.MudBlazorComponents
Nethereum.MudBlazorComponents Nethereum MudBlazor Components to dynamically generate Deploy, Transact and Query smart contracts user interfaces using Deployment and Function Typed Messages or Nethereum Services. Mud.dev Table components to query and upsert data using TableServices. |
|
|
Nethereum.AppChain
Nethereum AppChain - Application-specific blockchain with RocksDB storage, MUD World integration, and genesis configuration |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Nethereum.Mud.Contracts:
| Repository | Stars |
|---|---|
|
ChainSafe/web3.unity
🕹 Unity SDK for building games that interact with blockchains.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 6.0.4 | 3 | 3/18/2026 |
| 6.0.3 | 22 | 3/18/2026 |
| 6.0.1 | 99 | 3/17/2026 |
| 6.0.0 | 107 | 3/16/2026 |
| 5.8.0 | 158 | 1/6/2026 |
| 5.0.0 | 326 | 5/28/2025 |
| 4.29.0 | 259 | 2/10/2025 |
| 4.28.0 | 264 | 1/7/2025 |
| 4.27.1 | 256 | 12/24/2024 |
| 4.27.0 | 256 | 12/24/2024 |
| 4.26.0 | 317 | 10/1/2024 |
| 4.25.0 | 269 | 9/19/2024 |
| 4.21.4 | 245 | 8/9/2024 |
| 4.21.3 | 223 | 7/22/2024 |
| 4.21.2 | 866 | 6/26/2024 |
| 4.21.1 | 229 | 6/26/2024 |
| 4.21.0 | 249 | 6/18/2024 |