Create Ethereum wallet with C#, .NET Core, and Nethereum libraries. Install several NuGet packages, write the source code for different functionalities and in the end, send and receive ether coins with your wallet.
- Nethereum.KeyStore
- Nethereum.HdWallet
- Nethereum.Web3
- Rijndael256.Core
Ropsten Testnet with Infura
- Created the empty repo in github.
- Clone the empty repo to my local box.
- Run
dotnet new console
- Run
dotnet run
– This should run the code and print out "Hello World!" - Copy the Program.cs code from the exercise template directory to the Program.cs in the project.
- Run dotnet add package for the following imports: using System; using static System.Console; using System.Collections; using System.IO; using System.Linq; using System.Threading.Tasks; using Nethereum.HdWallet; using Nethereum.Web3; using Nethereum.Web3.Accounts; using Newtonsoft.Json; using NBitcoin; using Rijndael256
Create
new wallet and save it to json fileLoad
existing wallet from fileRecover
existing wallet from mnemonic phrases and save it to new json fileExit
from the program
Receive
addresses for receiving coinsCheck
balancesSend
coinsExit
from the program
MI2: Module 5: E2