Nethereum.Templates

Templates to get started with Nethereum

DefaultSmartContract C# Library

Template including the project setup for smart contract development including:

  • Smart contract example (ERC20)
  • Auto code generation settings for vscode
  • XUnit testing and testchains setup for Geth, OpenEthereum and Ganache
  • Examples of integration testing the smart contract ERC20 (Token transfer, balance, deployment, Events and Log Processing)
  • Examples of integration testing Ether transfers

Screenshot

Installation locally

  • Clone repo
  • Run dotnet new -i .\ in the command line / terminal
  • Run dotnet new smartcontract --ContractName "YourContractName"

Nuget

WIP