DEV Community

Cover image for Things you should know about Thirdweb SDK
Abhishek Tripathi
Abhishek Tripathi

Posted on

Things you should know about Thirdweb SDK

About

ThirdwebSDK is a software development kit (SDK) for building decentralized applications (dApps) on the Thirdweb blockchain. It enables you to build web3 applications with possessing abilities like:

  • Connecting to user's wallets

  • Deploying and interacting with smart contracts

  • Using the Solidity extensions you implemented

Installation

The easiest way to get started is by using the Thirdweb CLI.

This interactive tool creates a new project with Thirdweb pre-configured with a framework and language of your choice.

npx thirdweb create app --evm
Enter fullscreen mode Exit fullscreen mode

OR
The package manager for Node.js called npm may be used to install ThirdwebSDK.

npm install @thirdweb-dev/react @thirdweb-dev/sdk ethers@5 
or
yarn add @thirdweb-dev/react @thirdweb-dev/sdk ethers@5
Enter fullscreen mode Exit fullscreen mode

Then wrap your application in the ThirdWeb Provider to get started!

import { ThirdwebProvider } from "@thirdweb-dev/react";

export const MyApp = () => {
  return (
    <ThirdwebProvider activeChain="ethereum">
      <YourApp />
    </ThirdwebProvider>
  );
};
Enter fullscreen mode Exit fullscreen mode

Features

  • ThirdwebSDK gives a scope of highlights to building dApps on the Thirdweb blockchain.

  • These include account management, transaction signing, smart contract interactions, and more.

  • The SDK also includes several built-in utilities for working with the Thirdweb blockchain, such as converting between different data types and handling errors.

Benefits

By utilizing ThirdwebSDK, developers can undoubtedly construct dApps on the Thirdweb blockchain without expecting to compose low-level blockchain code.

  • The SDK abstracts away a large number of the complexities of blockchain improvement, permitting developers to focus on their application logic.

  • ThirdwebSDK is factual and effectively kept up with, with standard updates and bug fixes.

  • Since the Thirdweb blockchain is decentralized, utilizing ThirdwebSDK can assist with guaranteeing the security and unwavering quality of your dApp.

Conclusion

Overall, ThirdwebSDK is a powerful tool for building decentralized applications on the Thirdweb blockchain. Whether you're a seasoned blockchain developer or just getting started, ThirdwebSDK can help to streamline your development process and make it easier to build secure and reliable dApps.

Hope you like it.

Top comments (0)