How to deploy a smart contract on Base Testnet 📃

How to deploy a smart contract on Base Testnet 📃

0x25CC

5 hours ago

186 Collected

In this article, you will learn how to deploy a smart contract on the Base testnet and claim the "Early Builder on Base Testnet" NFT!

Steps:

  1. Add Base Goerli Testnet

  2. Claim faucet

  3. Deploy a Smart Contract

  4. Claim the NFT


Add Base Goerli Testnet:

Skip if you already have.

Base Goerli Testnet RPC and Chain settings | Chainlist

Find the best Base Goerli Testnet RPC to connect to your wallets and Web3 middleware providers.

chainlist.org


Claim faucet:

Skip if you already have.

Base Faucet by QuickNode

Easy to use Base Faucet. Claim your testnet tokens for free - one drip per network every 12 hours.

faucet.quicknode.com


Deploy a Smart Contract:

  • Go to:

NFT Drop - ERC721 | Published Smart Contract

Release collection of unique NFTs for a set price. Deploy NFT Drop in one click with thirdweb.

thirdweb.com

  • Connect your wallet and click “Deploy Now” 👇🏻

  • Upload an image, and give the contract a name and a symbol. Finally, select “Base Goerli Testnet” on the Network/Chain option and deploy > Confirm 2 txn on the wallet.

If you can’t see the Base Goerli Testnet, refresh the page a few times. If it still does not work, add the chain manually by clicking on the “Configure Networks” option 👇🏻

And add a custom network 👇🏻

Network Name: Base Goerli Testnet

Network ID: base-goerli

Chain ID: 84531

Currency Symbol: ETH

Network type: Testnet

RPC URL: https://base-goerli.rpc.thirdweb.com/ed043a51ae23b0db3873f5a38b77ab28175fa496f15d3c53cf70401be89b622a

  • Now deploy the contract.

  • Upon the successful completion of the transaction, it can be confirmed that you have successfully deployed a contract on the Base testnet. 🎉


Claim the NFT:

To claim the NFT, we need the address of our deployed smart contract. So go to the contracts section and copy the contract address 👇🏻

  • Now go to the NFT claim page:

    https://quests.base.org/quest

  • Connect your wallet and paste your smart contract address here and verify 👇🏻

  • Once verified, you can claim your NFT 🥳


That’s it for now. Make sure to join us on