InstallationFrontend InstallationThirdweb SDK Setup

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:

  1. Client ID

    • Found in your thirdweb project settings.
    • Required to authenticate and use thirdweb services.
  2. Supported Chain

    • This is the blockchain network you want to use (e.g., ethereum, polygon, mumbai, or localhost for development).
    • Make sure your smart contracts are deployed to this chain.

Add to .env File

Modify the following environment variables to your .env file:

NEXT_PUBLIC_TEMPLATE_CLIENT_ID='your-client-id'
NEXT_PUBLIC_SUPPORTED_CHAIN='your-chain-name'

On this page