🧠Deploying Smart Contracts with ThirdWeb

ThirdWeb tutorial with Camp Network

Thirdweb is a comprehensive web3 development framework that offers all the tools needed to connect your apps and games to decentralized networks. With Camp Network now integrated into Thirdweb, you can swiftly deploy and interact with your smart contracts using these powerful features.

1. Download ThirdWeb CLI

In this we will install it globally. Refer to the docs right here.

npm i -g thirdweb

2. Create the Local Environment

npx thirdweb create

3. Obtain your ThirdWeb API key

Thirdweb services require an API key, so let’s create one. There is an official tutorial here but let’s go through it quickly. To get an API key, go to https://thirdweb.com/dashboard/settings/api-keys. Connect your wallet and you will be prompted with a message to sign from Metamask (you can use other wallets if you prefer). Once your wallet is connected, you should be able to switch to Mode network and also Create an API Key.

4. Deploy your smart contract

5. Go to your Smart Contract Dashboard

To track all your smart contracts and easily interact with them, Thirdweb provides us with a contracts dashboard. Just go to https://thirdweb.com/dashboard/contracts and you will see all your deployed contracts.

Congratulations! You have deployed your smart contract with ThirdWeb!

Last updated