Skip to content

tocaRepo/nethereum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About The Project

.NET 6 and Nethereum have been used to create a REST API:

  • /api/GetEthBalance/{wallet}

the API return the balance associated with the wallet address provided.

Usage

  1. Get a free API Key at https://infura.io/ (to access ethereum mainnet)
  2. Clone the repo
  3. dotnet restore
    dotnet restore
  4. Enter your infura key in appsettings.json
    "ApiConfiguration":{
     "InfuraKey":"#placeholder#"
    }
  5. dotnet build
    dotnet build
  6. dotnet run
    dotnet run

What is Nethereum ?

Nethereum is the .Net integration library for Ethereum, simplifying the access and smart contract interaction with Ethereum nodes both public or permissioned like Geth, Parity or Quorum.

Nethereum is developed targeting netstandard 1.1, netstandard 2.0, netcore 2.1, netcore 3.1, net451 and also as a portable library, hence it is compatible with all the operating systems (Windows, Linux, MacOS, Android and OSX) and has been tested on cloud, mobile, desktop, Xbox, hololens and windows IoT.

check more here: https://github.com/Nethereum/Nethereum

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages