Section 7. Create ERC20 Tokens
Step 1: Navigate to Deploy Diamond
From the left-hand side of the page, select the Korridor menu. Once it appears, choose the ERC20 Tokens submenu. This will bring up the Deploy Diamond section.
Step 2: Deploy a Diamond
- Click on the Deploy Diamond button
- Enter the desired Diamond Name
- Click on the Deploy to … button
- Confirm the transaction in your wallet
Step 3: Toggle the New Diamond
When a new Diamond is deployed, it does not show on the table. To make it visible, uncheck the Show only the latest versions box. The newly deployed Diamond will be at the end of the table. Then click on Operations and select Toggle Latest.
Step 4: Initialize the New Diamond
- Click on Operations and select Initialize diamond
- Select your Task Manager Contract (which you deployed in Section 3-1)
- Select your Authorization Contract (which you deployed in Section 3-2)
- Add the erc20 facet to the diamond (which you deployed in Section 2) (your wallet needs to have access to Add Facet, as described in Section 4)
- Click on the Initialize on… button
- Confirm the transaction in your wallet

Step 5: Accessing to Initialize ERC20
Note: Giving access to each wallet address must be authorized by the Admin. 1. From the deployed diamond table, click on the settings icon 2. Navigate to the Functions and Permissions tab 3. Find initializeErc20 from Function Signature column and click on Add Permissions 4. Enter the wallet address that you want to grant access in Caller Account field 5. Click on the Add Permission button 6. Confirm the transaction in your wallet
Step 6: Initialize ERC20
- Navigate to the Facet Settings tab
- Click on the Initialize ERC20 button
- Enter the Name, Symbol, Decimals, Initial Owners, Initial Balances
- Click on the Initialize on … button
- Confirm the transaction in your wallet
