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 contractsCore Foundation
Delegate an EOA to a smart contract (EIP-7702)Core Foundation
Sign with HD wallets, Ledger/Trezor, AWS KMS, Azure Key VaultSigning & Key Management
Deploy contracts, generate C# services from ABISmart Contracts
Work with ERC-20/721/1155 tokens (built-in typed services)Smart Contracts
Simulate transactions and preview state changes before signingEVM Simulator
Debug EVM execution step-by-step (opcodes, stack, storage)EVM Simulator
Run a local dev chain — no external node requiredDevChain
Spin up a full dev environment with .NET AspireDevChain
Swap tokens on Uniswap (V2/V3/V4)DeFi
Accept or pay for crypto payments (x402)DeFi
Execute Gnosis Safe multi-sig transactionsDeFi
Use smart accounts and paymasters (ERC-4337)Account Abstraction
Deploy ERC-7579 modular smart accountsAccount Abstraction
Run an ERC-4337 bundlerAccount Abstraction
Index blockchain data to PostgreSQL / SQL Server / SQLiteData & Indexing
Build a blockchain explorer (ABI decoding, contract interaction)Data & Indexing
Get token prices, ABI from Etherscan/Sourcify, RPC via ChainlistData Services
Read, write, and index MUD table recordsMUD
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 EthereumUnity
Verify balances without trusting RPC (light client)Consensus
Launch a custom application chain with sequencer and syncAppChains

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

Key Packages

PackageNuGetDescription
Nethereum.Web3NuGetHigh-level entry point: RPC, contracts, accounts, signing
Nethereum.ContractsNuGetSmart contract interaction with typed services for ERC-20, ERC-721, ERC-1155, ENS, and more
Nethereum.SignerNuGetTransaction signing, EIP-155/1559/4844/7702, message signing
Nethereum.HdWalletNuGetBIP32/BIP39/BIP44 hierarchical deterministic wallets
Nethereum.EVMNuGetFull in-process EVM simulator with debugging and state tracing
Nethereum.DevChain.ServerNuGetIn-process Ethereum dev chain — no external node required
Nethereum.BlockchainProcessingNuGetBlockchain data indexing with reorg detection and token transfer processing
Nethereum.ExplorerNuGetBlazor Server blockchain explorer with ABI decoding and contract interaction
Nethereum.AccountAbstractionNuGetERC-4337 account abstraction + ERC-7579 modular smart accounts
Nethereum.MudNuGetMUD autonomous worlds: table queries, store indexing, normalisation
Nethereum.UniswapNuGetUniswap V2/V3/V4 + Permit2
Nethereum.X402NuGetHTTP 402 crypto payments (client + server middleware)
Nethereum.GnosisSafeNuGetGnosis Safe multi-sig integration
Nethereum.SiweNuGetSign-In with Ethereum (EIP-4361)
Nethereum.WalletNuGetMulti-platform wallet core: accounts, vault, transaction services
Nethereum.BlazorNuGetBlazor dApp integration: EIP-6963 wallet discovery, auth state
Nethereum.AppChain.SequencerNuGetCustom 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
TemplateShort NameDescription
Smart Contract Library + ERC20 XUnitsmartcontractSmart contract dev with auto code generation and integration tests
ERC721/ERC1155 Open Zeppelinnethereum-erc721-ozNFT and multi-token development with OpenZeppelin
Blazor MetaMask Wasm/Servernethereum-mm-blazorBlazor + MetaMask integration
Blazor SIWE Wasm/Server/RESTnethereum-siweSign-In with Ethereum authentication
WebSocket Streamingnethereum-ws-streamReal-time blockchain data streaming
Aspire DevChain Environmentnethereum-devchainFull 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

ResourceDescription
Nethereum.UnityUnity package — install via git URL
Unity3dSampleTemplateGetting started: BlockNumber, Ether transfer, ERC20, MetaMask, cross-platform
Nethereum.Unity.WebglWebGL + MetaMask: deploy ERC721 NFTs from Unity

Documentation & Community

Pinned Loading

  1. NethereumNethereumPublic

    Ethereum .Net cross platform integration library

    C# 2.3k 746

  2. Nethereum.BlockchainStorageNethereum.BlockchainStoragePublic

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

    C# 44 30

  3. Nethereum.UI.Wallet.SampleNethereum.UI.Wallet.SamplePublic

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

    C# 76 43

  4. Nethereum.Game.SampleNethereum.Game.SamplePublic

    Crossplatform game sample using Nethereum and UrhoSharp

    C# 25 19

  5. abi-code-genabi-code-genPublic

    Generic code generator from abi

    HTML 23 5

  6. Nethereum.WorkbooksNethereum.WorkbooksPublic archive

    Nethereum tutorials using workbooks

    C# 21 14

Repositories

Showing 10 of 101 repositories

Top languages

Loading…

Most used topics

Loading…