class ThirdwebSDK
The entry point for the thirdweb SDK.
Summary
| Members | Type | Descriptions |
|---|---|---|
| wallet | variable | Connect and Interact with a user's wallet |
| deployer | variable | Deploy new contracts |
| ThirdwebSDK | function | Create an instance of the thirdweb SDK. Requires a webGL browser context. |
| GetContract | function | Get an instance of a deployed contract. |
Members
Connect and Interact with a user's wallet
Deploy new contracts
public inline ThirdwebSDK(string chainOrRPC,Options options)
Create an instance of the thirdweb SDK. Requires a webGL browser context.
Parameters
chainOrRPCThe chain name or RPC url to connect tooptionsConfiguration options
public inline Contract GetContract(string address,string abi)
Get an instance of a deployed contract.
Parameters
addressThe contract addressabiOptionally pass the ABI for contracts that cannot be auto resolved. Expected format for the ABI is escaped JSON string
Returns
A contract instance