Deploy a Token
Last updated
Last updated
This guide will walk you through deploying a smart contract using OpenZeppelin Smart Contract Wizard, a web-based tool for generating smart contracts, and Remix, a web-based IDE for writing and deploying smart contracts.
Before you begin, make sure that you have cBTCs in your account and Citrea Testnet is added to your wallet. If these requirements are not met, follow the faucet guide to get some cBTC and add the network to your wallet.
Open OpenZeppelin Smart Contract Wizard in your browser. You should see the following screen:
Select the ERC20
template from the list of available templates. This template will generate a standard ERC20 token smart contract.
Fill in the token details such as Name
, Symbol
, Decimals
, and Initial Supply
. You can also specify the Mintable
and Burnable
options if you want to allow minting and burning of tokens.
Click Open in Remix
to open the generated smart contract in Remix. After this step, you need to compile your smart contract, select the environment, and deploy it. The rest of the guide is the same as the Deploy a Smart Contract Using Remix guide, from the step 2.
You have successfully deployed a token on Citrea using Remix. If you have any questions or need help, feel free to ask in the Citrea Discord.