Remix for Theta Deploy Contract Interact With Dapp Builder Help Examples Subchain Data Broadcast TXN Donate

How to install Nethereum into your Visual Studio project.

1. Click on project
2. Select Manage NuGet Package

3. Enter "nethereum portable" and press enter
4. Select Nethereum.Portable
5. Click Install

In this example we built an application in Visual Studio using C# Windows Forms App.

This allows you to create a Windows application that will interact with the Theta blockchain using Nethereum.web3. You will enter the contract address and an account number from example 9 that made a payment. Using Nethereum.web3 we can see the current fees and when the account expires from the contract that was deployed in example 9.

You could allow payments to be made directly in the desktop application, we intentionally omitted this from the example as we did not want to create a Theta wallet.

© 2023