This guide outlines the process of creating an anchorage API key so that Toku can propose token transfers.
The API key setup consists of two parts:
- Creation of the API Permission Group
- Creation of the API 2.0 Key
Creating the Permission Group
- Log into Anchorage Digital Web and navigate to the API section:
- Create a new API Permission Group with the following configuration:
To grant the API key access to propose transactions it will need only the Initiated Withdrawal permission under the global permissions section. This will allow the Toku platform to propose requests to settle funds between and out of an anchorage controlled wallet.
Note This does not give TOKU the ability to approve any transactions and cannot move funds without quorum approval.
- Now that the Global Permissions have been configured for the Permission Group, we now need to specify read permissions on the vault(s). These permissions are needed as the Toku platform will need to read information on any vault containing a wallet connected to Toku. If unsure which vaults contain these wallets, select read for all. Additionally, Toku can also automate the grant creation process by automatically creating a new wallet in Anchorage via the API. To enable this functionality, the Create Address permission must be enabled in at least one vault:
Create API Key
- Create a new api key with the following configuration:
- Make sure to select the permission group from before
- Add [email protected] as the contact email and use the public key provided in a separate email for security reasons. If you cannot find the public key please contact [email protected]
- Submit the endorsement to create the api key and send the resulting API key to [email protected] it will appear as soon as your endorsement is complete.
