Section 6. Deploy Agora Diamond
Step 1: Navigate to Deploy Agora Diamond
From the left-hand side of the page, select the Agora menu. Once it appears, choose the Orderbooks submenu. This will bring up theDeploy Agora Diamond section.
Step 2: Deploy an Agora Diamond
- Click on the Deploy Diamond button
- Enter the desired Agora Diamond Name
- Click on the Deploy to … button
- Confirm the transaction in your wallet
Step 3: Toggle the New Agora Diamond
When a new Agora 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 Authz Diamond will be at the end of the table. Then click on Operations and select Toggle Latest.
Step 4: Initialize the New Agora 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 agora-engine, matcher, trade-manager, order-stats, direct-order-manager, offer-manager, pair-manager, rbac and props 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
