Skip to content
@Nethereum

Nethereum

Ethereum .Net cross platform integration framework. For technical support, chat and collaboration come to Discord: https://discord.gg/u3Ej2BReNn

Nethereum

The .NET integration platform for Ethereum and EVM-compatible blockchains. From smart contract interaction to a complete in-process Ethereum node, blockchain indexer, explorer, account abstraction bundler, MUD framework, multi-platform wallets, Unity integration, and .NET Aspire orchestration — 130+ packages targeting netstandard 2.0 through .NET 10 and Unity.

Nethereum Core

The main Nethereum solution and projects: github.com/Nethereum/Nethereum

dotnet add package Nethereum.Web3

What You Can Build

I want to... Section
Query balances, send ETH, interact with contracts Core Foundation
Delegate an EOA to a smart contract (EIP-7702) Core Foundation
Sign with HD wallets, Ledger/Trezor, AWS KMS, Azure Key Vault Signing & Key Management
Deploy contracts, generate C# services from ABI Smart Contracts
Work with ERC-20/721/1155 tokens (built-in typed services) Smart Contracts
Simulate transactions and preview state changes before signing EVM Simulator
Debug EVM execution step-by-step (opcodes, stack, storage) EVM Simulator
Run a local dev chain — no external node required DevChain
Spin up a full dev environment with .NET Aspire DevChain
Swap tokens on Uniswap (V2/V3/V4) DeFi
Accept or pay for crypto payments (x402) DeFi
Execute Gnosis Safe multi-sig transactions DeFi
Use smart accounts and paymasters (ERC-4337) Account Abstraction
Deploy ERC-7579 modular smart accounts Account Abstraction
Run an ERC-4337 bundler Account Abstraction
Index blockchain data to PostgreSQL / SQL Server / SQLite Data & Indexing
Build a blockchain explorer (ABI decoding, contract interaction) Data & Indexing
Get token prices, ABI from Etherscan/Sourcify, RPC via Chainlist Data Services
Read, write, and index MUD table records MUD
Build a multi-platform wallet app (Blazor, MAUI, Avalonia) Wallet SDK
Connect browser wallets in Blazor (EIP-6963, WalletConnect, SIWE) Blazor dApp
Build Unity games with Ethereum Unity
Verify balances without trusting RPC (light client) Consensus
Launch a custom application chain with sequencer and sync AppChains

For the full list of 100+ use cases with packages, see What Do You Want to Do? or the Component Catalog.

Key Packages

Package NuGet Description
Nethereum.Web3 NuGet High-level entry point: RPC, contracts, accounts, signing
Nethereum.Contracts NuGet Smart contract interaction with typed services for ERC-20, ERC-721, ERC-1155, ENS, and more
Nethereum.Signer NuGet Transaction signing, EIP-155/1559/4844/7702, message signing
Nethereum.HdWallet NuGet BIP32/BIP39/BIP44 hierarchical deterministic wallets
Nethereum.EVM NuGet Full in-process EVM simulator with debugging and state tracing
Nethereum.DevChain.Server NuGet In-process Ethereum dev chain — no external node required
Nethereum.BlockchainProcessing NuGet Blockchain data indexing with reorg detection and token transfer processing
Nethereum.Explorer NuGet Blazor Server blockchain explorer with ABI decoding and contract interaction
Nethereum.AccountAbstraction NuGet ERC-4337 account abstraction + ERC-7579 modular smart accounts
Nethereum.Mud NuGet MUD autonomous worlds: table queries, store indexing, normalisation
Nethereum.Uniswap NuGet Uniswap V2/V3/V4 + Permit2
Nethereum.X402 NuGet HTTP 402 crypto payments (client + server middleware)
Nethereum.GnosisSafe NuGet Gnosis Safe multi-sig integration
Nethereum.Siwe NuGet Sign-In with Ethereum (EIP-4361)
Nethereum.Wallet NuGet Multi-platform wallet core: accounts, vault, transaction services
Nethereum.Blazor NuGet Blazor dApp integration: EIP-6963 wallet discovery, auth state
Nethereum.AppChain.Sequencer NuGet Custom application chain with EVM, sequencer, and AppChainBuilder

All packages: nuget.org/profiles/nethereum

Nethereum Playground

Try Nethereum directly in your browser — chain interaction, Ether transfers, ERC20/ERC721, ENS, SIWE, HD wallets, log processing, and more.

Nethereum Playground

Templates

Get started quickly with dotnet new templates:

dotnet new install Nethereum.Templates.Pack
dotnet new install Nethereum.Aspire.TemplatePack
Template Short Name Description
Smart Contract Library + ERC20 XUnit smartcontract Smart contract dev with auto code generation and integration tests
ERC721/ERC1155 Open Zeppelin nethereum-erc721-oz NFT and multi-token development with OpenZeppelin
Blazor MetaMask Wasm/Server nethereum-mm-blazor Blazor + MetaMask integration
Blazor SIWE Wasm/Server/REST nethereum-siwe Sign-In with Ethereum authentication
WebSocket Streaming nethereum-ws-stream Real-time blockchain data streaming
Aspire DevChain Environment nethereum-devchain Full dev environment: DevChain + PostgreSQL + Indexer + Explorer

Sources: SmartContractDefault, OZ-Erc721-Erc1155, Metamask.Blazor, SIWE

Wallets & End-to-End Examples

Blazor / MAUI Hybrid Explorer Wallet

A .NET Blazor Wasm SPA, Desktop (Windows/Mac), Android and iOS light blockchain explorer and wallet.

Source: Nethereum-Explorer-Wallet-Template-Blazor | Try it: explorer.nethereum.com

Desktop Wallet (Avalonia)

A reactive cross-platform desktop wallet using Nethereum, Avalonia, and ReactiveUI.

Source: Nethereum.UI.Desktop

Unity

Resource Description
Nethereum.Unity Unity package — install via git URL
Unity3dSampleTemplate Getting started: BlockNumber, Ether transfer, ERC20, MetaMask, cross-platform
Nethereum.Unity.Webgl WebGL + MetaMask: deploy ERC721 NFTs from Unity

Documentation & Community

Pinned Loading

  1. Nethereum Nethereum Public

    Ethereum .Net cross platform integration library

    C# 2.2k 742

  2. Nethereum.BlockchainStorage Nethereum.BlockchainStorage Public

    Library for processing the storage of the Ethereum blockchain in Azure Table Storage

    C# 44 30

  3. Nethereum.UI.Wallet.Sample Nethereum.UI.Wallet.Sample Public

    Cross platform wallet example using Nethereum, Xamarin.Forms and MvvmCross

    C# 77 42

  4. Nethereum.Game.Sample Nethereum.Game.Sample Public

    Crossplatform game sample using Nethereum and UrhoSharp

    C# 25 21

  5. abi-code-gen abi-code-gen Public

    Generic code generator from abi

    HTML 23 4

  6. Nethereum.Workbooks Nethereum.Workbooks Public archive

    Nethereum tutorials using workbooks

    C# 21 14

Repositories

Showing 10 of 94 repositories

Top languages

Loading…

Most used topics

Loading…