Thirdweb SDK Setup
Learn how to configure and use Thirdweb SDK with ArtVault.
Setting up Thirdweb SDK
ArtVault uses thirdweb — a powerful SDK that simplifies working with smart contracts and Web3 infrastructure.
What is Thirdweb?
Thirdweb is a platform that provides tools and SDKs to easily integrate Web3 features into your app, including NFTs, smart contracts, wallets, and more — without needing to write low-level blockchain code.
Required Configuration
To get started, you’ll need a few details from the thirdweb dashboard:
-
Client ID
- Found in your thirdweb project settings.
- Required to authenticate and use thirdweb services.
-
Supported Chain
- This is the blockchain network you want to use (e.g.,
ethereum,polygon,mumbai, orlocalhostfor development). - Make sure your smart contracts are deployed to this chain.
- This is the blockchain network you want to use (e.g.,
Add to .env File
Modify the following environment variables to your .env file: