Ethereum for .NET developers
Gyaran ƙarshe: @pettinarip(opens in a new tab), 15 Janairu, 2024
Use Ethereum to create decentralized applications (or "dapps") that utilize the benefits of cryptocurrency and blockchain technology. These dapps can be trustworthy, meaning that once they are deployed to Ethereum, they will always run as programmed. They can control digital assets in order to create new kinds of financial applications. They can be decentralized, meaning that no single entity or person controls them and are nearly impossible to censor.
Build decentralized applications on top of Ethereum and interact with smart contracts using tools and languages from the Microsoft technology stack - Supporting C#, # Visual Basic .NET, F#, on tooling such as VSCode and Visual Studio, across .NET Framework/.NET Core/.NET Standard. Deploy an Ethereum blockchain on Azure using Microsoft Azure Blockchain in minutes. Bring the love of .NET to Ethereum!
Getting started with smart contracts and the Solidity language
Take your first steps to integrating .NET with Ethereum
Need a more basic primer first? Check out ethereum.org/learn or ethereum.org/developers.
- Blockchain Explained(opens in a new tab)
- Understanding Smart Contracts(opens in a new tab)
- Write your First Smart Contract(opens in a new tab)
- Learn How to Compile and Deploy Solidity(opens in a new tab)
Beginner references and links
Introducing the Nethereum library and VS Code Solidity
- Nethereum, Getting Started(opens in a new tab)
- Installing VS Code Solidity(opens in a new tab)
- A .NET Developer’s Workflow for Creating and Calling Ethereum Smart Contracts(opens in a new tab)
- Smart contracts integration with Nethereum(opens in a new tab)
- Interfacing .NET and Ethereum Blockchain Smart Contracts with Nethereum(opens in a new tab), also in 中文版(opens in a new tab)
- Nethereum - An open source .NET integration library for blockchain(opens in a new tab)
- Writing Ethereum Transactions to SQL Database Using Nethereum(opens in a new tab)
- See how to easily deploy Ethereum smart contracts using C# and VisualStudio(opens in a new tab)
Want to skip setup for now, and jump straight to the samples?
- Playground(opens in a new tab) - Interact with Ethereum and learn how to use Nethereum through the browser.
- Query Account Balance C#(opens in a new tab) VB.NET(opens in a new tab)
- Query ERC20 Smart Contract Balance C#(opens in a new tab) VB.NET(opens in a new tab)
- Transfer ether to an Account C#(opens in a new tab) VB.NET(opens in a new tab)
- ... And more!
Intermediate articles
- Nethereum Workbook/Sample List(opens in a new tab)
- Deploy Your Own Development Testchains(opens in a new tab)
- VSCode Codegen Plugin for Solidity(opens in a new tab)
- Unity and Ethereum: Why and How(opens in a new tab)
- Create ASP.NET Core Web API for Ethereum dapps(opens in a new tab)
- Using Nethereum Web3 to Implement a Supply Chain Tracking System(opens in a new tab)
- Nethereum Block Processing(opens in a new tab), with C# Playground sample(opens in a new tab)
- Nethereum Websocket Streaming(opens in a new tab)
- Kaleido and Nethereum(opens in a new tab)
- Quorum and Nethereum(opens in a new tab)
Advanced use patterns
- Azure Key Vault And Nethereum(opens in a new tab)
- Nethereum.DappHybrid(opens in a new tab)
- Ujo Nethereum backend reference architecture(opens in a new tab)
.NET projects, tools and other fun stuff
- Nethereum Playground(opens in a new tab) - Compile, create, and run Nethereum code snippets in browser
- Nethereum Codegen Blazor(opens in a new tab) - Nethereum codegen with UI in Blazor
- Nethereum Blazor(opens in a new tab) - A .NET Wasm SPA light blockchain explorer and simple wallet
- Wonka Business Rules Engine(opens in a new tab) - A business rules engine (for both the .NET platform and the Ethereum platform) that is inherently metadata-driven
- Nethermind(opens in a new tab) - A .NET Core Ethereum client for Linux, Windows, MacOS
- eth-utils(opens in a new tab) - utility functions for working with Ethereum related codebases
- TestChains(opens in a new tab) - Pre-configured .NET devchains for fast response (PoA)
Looking for more resources? Check out ethereum.org/developers.
.NET community contributors
At Nethereum, we mostly hang out on Gitter(opens in a new tab) where everyone is welcome to ask/answer questions, get help, or just chill. Feel free to do a PR or open an issue on the Nethereum GitHub repository(opens in a new tab), or just browse through the many side/sample projects we have. You can also find us on Discord(opens in a new tab)!
If you are new to Nethermind and need help getting started, join our Discord(opens in a new tab). Our developers are on hand to answer your questions. Don't hesitate to open a PR or raise any issues on the Nethermind GitHub repository(opens in a new tab).
Other aggregated lists
Official Nethereum Site(opens in a new tab)
Official Nethermind Site(opens in a new tab)