Getting Started
To get started with the Thirdweb .NET SDK, ensure you have .NET SDK installed on your machine.
We recommend using the latest stable version of .NET.
Install the Thirdweb .NET SDK via NuGet package manager:
This command adds the Thirdweb SDK to your project, allowing you to interact with the blockchain in your .NET applications.
Create a new instance of the Thirdweb client in your application:
Replace "yourClientId" and "yourBundleId" with your actual client ID and bundle ID. Note that a bundle ID is only required if you are not using the SDK from a web application.
Now, you can start interacting with smart contracts. For example, to read from a contract:
Replace "contractAddress", chainId, and "methodName" with your contract's address, the chain ID, and the method name you wish to call.
Check the SDK documentation for more advanced features like interacting with smart wallets, signing messages, and performing transactions.