Thirdweb 0.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package Thirdweb --version 0.0.1
NuGet\Install-Package Thirdweb -Version 0.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Thirdweb" Version="0.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Thirdweb --version 0.0.1
#r "nuget: Thirdweb, 0.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Thirdweb as a Cake Addin
#addin nuget:?package=Thirdweb&version=0.0.1

// Install Thirdweb as a Cake Tool
#tool nuget:?package=Thirdweb&version=0.0.1

Thirdweb .NET SDK

Overview

The Thirdweb .NET SDK is a powerful library that allows developers to interact with the blockchain using the .NET framework. It provides a set of convenient methods and classes to simplify the integration of Web3 functionality into your .NET applications.

Features

  • Connect to any EVM network
  • Query blockchain data using Thirdweb RPC
  • Interact with smart contracts

Installation

To use the Thirdweb .NET SDK in your project, you can either download the source code and build it manually, or install it via NuGet package manager.

dotnet add package Thirdweb

Usage

using Thirdweb;

// Create a client
var clientOptions = new ThirdwebClientOptions(secretKey: secretKey);
var client = new ThirdwebClient(clientOptions);

// Interact with a contract
var contractOptions = new ThirdwebContractOptions(client: client, address: "0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D", chain: 1, abi: "function name() view returns (string)");
var contract = new ThirdwebContract(contractOptions);
var readResult = await ThirdwebContract.ReadContract<string>(contract, "name");
Console.WriteLine($"Contract read result: {readResult}");

// Or directly interact with the RPC
var rpc = ThirdwebRPC.GetRpcInstance(client, 1);
var blockNumber = await rpc.SendRequestAsync<string>("eth_blockNumber");
Console.WriteLine($"Block number: {blockNumber}");
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.4.0 91 6/1/2024
0.3.1 86 5/29/2024
0.3.0 88 5/23/2024
0.2.0 103 5/15/2024
0.1.1 117 4/15/2024
0.1.0 70 4/12/2024
0.0.13 74 4/10/2024
0.0.12 78 4/10/2024
0.0.11 68 4/10/2024
0.0.10 81 4/10/2024
0.0.9 90 4/10/2024
0.0.8 78 4/9/2024
0.0.7 72 4/9/2024
0.0.6 90 4/8/2024
0.0.5 83 4/5/2024
0.0.4 97 4/3/2024
0.0.3 74 4/3/2024
0.0.1 104 3/26/2024
0.0.0 89 3/26/2024