Section 5. Deploy Trezor Diamond
Step 1: Navigate to Deploy Trezor Diamond
From the left-hand side of the page, select the Trezor menu. This will bring up the Deploy Trezor Diamond section.
Step 2: Deploy a Trezor Diamond
- Click on the Deploy Diamond button
- Enter the desired Trezor Diamond Name
- Click on the Deploy to … button
- Confirm the transaction in your wallet
Step 3: Toggle the New Trezor Diamond
When a new Trezor Diamond is deployed, it doesn’t show on the table. To make it visible, uncheck the Show only the latest versions box. The newly deployed Trezor Diamond will be at the end of the table. Then click on Operations and select Toggle Latest.
Step 4: Initialize the New Trezor 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 props, rbac, erc20-vault, erc20-vault-admin and ledger-lister facets to the diamond (facets 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
