Deploy a Token

Deploy a Token

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 Devnet is added to your wallet. If these requirements are not met, follow the bridge guide to get some cBTC and add the network to your wallet.

Step 1: Open OpenZeppelin Smart Contract Wizard

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.

Step 2: Specify the Token Details

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.

Step 3: Move to the Deployment

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.

Congratulations!

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.

Last updated