Become a Root Trusted Accreditation Organisation
Step 1. Create DID and DID document
Follow the Legal Entity DID creation guide to create a DID.
Step 2. Obtain Verifiable Authorisation to Onboard
The VerifiableAuthorisationToOnboard credential will allow you to request access to register your new DID into the DID registry as a Root TAO. You can obtain this credential via email request with the EBSI Support Office.
Before you can request the VerifiableAuthorisationToOnboard, you must accept and sign the legal package as an EBSI Application Service Provider via the Acceptance form.
Email the EBSI Support Office.
- For the 'Subject' field, select 'Register a DID'.
After successfully emailing the request, the EBSI Support Office will issue you the VerifiableAuthorisationToOnboard credential.
Step 3. Register DID and DID document in the EBSI DID Registry
Use the Verifiable Authorisation to Onboard received in Step 2 to register your DID in the EBSI DID Registry.
Follow the Register your DID guide to complete DID registration.
Step 4. Prepare the keys and the policy grant
A Root TAO is not accredited by anyone: its record is anchored on chain by a policy, and its VerifiableAuthorisationForTrustChain is signed by the Root TAO itself. The Issuers Registry contract records a Root TAO as its own accreditor (tao), and verifiers reject any record whose body is not issued by that tao, so an authorisation issued by the Support Office is not accepted.
Three things must be in place:
- Keys. The DID created in Step 1 needs an ES256K (secp256k1) key with the
capabilityInvocationrelationship (it sends the on-chain transactions, and its Ethereum address receives the policy), and an ES256KassertionMethodkey to sign the authorisation. - Policy grant. The environment operator (the holder of the operator role of the Policies Registry) grants the policy
IssuersRegistry:setAttributeMetadatato the Ethereum address of your key withinsertUserAttributes(rtaoAddress, ["IssuersRegistry:setAttributeMetadata"]). Ask the EBSI Support Office to arrange it. This is the only policy the contract requires for aRootTAOattribute. - DID registered in the DID Registry (Step 3).
Step 5. Register your Verifiable Authorisation for Trust Chain
The first record of a Root TAO is written directly with Send a For a You sign the credential yourself: See the VCDM 2.0 trust model for a full example. Verifiers reject a body whose Build a The following endpoint must be used to register your Verifiable Authorisation for Trust Chain into the Issuers Registry: Upon successful submission, the Ledger Service will broadcast the transaction to the ledger. In return, you will receive the transaction hash. You can get the receipt of the transaction by calling the Receipts for pending transactions are not available, therefore you will have to wait until the transaction has been processed — usually a few seconds. We recommend you to poll the Once the receipt is available, you can check the The following endpoint must be used to check the status of the transaction: After the transaction has been completed, you are officially onboarded as a Root TAO. Congratulations!eth_sendRawTransaction, not through an issuers-registry:invite token: it has no accreditor yet, and it is not a trusted issuer until its own record has data.Step 5.1 Reserve your attribute
setAttributeMetadata transaction to the Issuers Registry:RootTAO attribute the accreditor DID and the last argument are ignored. The contract derives the attribute id from the salt, so the id is not equal to the salt:Step 5.2 Sign your Verifiable Authorisation for Trust Chain
issuer, credentialSubject.id (and iss, sub in the JWT) are your own DID. A VCDM 2.0 authorisation contains:
VerifiableAuthorisationForTrustChain (with VerifiableTrustModel),TrustFrameworkPolicy in termsOfUse,credentialSubject.reservedAttributeId set to the derived attributeId of Step 5.1 (never the salt),credentialSubject.permissionFor listing what the chain below you may issue,validFrom, validUntil, and a credentialStatus of type EbsiAccreditationEntry pointing to your attribute.reservedAttributeId is missing or differs from the attribute it is stored at. The ledger does not check it, so a wrong value is accepted on chain and only fails later, at verification time.Step 5.3 Register the authorisation in the Issuers Registry
setAttributeData transaction with your DID, the derived attributeId and the credential JWT (as UTF-8 bytes).
setAttributeData transaction that registers the credential.eth_getTransactionReceipt method of Ledger Service.eth_getTransactionReceipt method until the receipt is available.status field to know if the transaction succeeded (0x1) or failed (0x0). If the transaction failed, the revertReason field will give you insights about the reason for the failure. You can learn more about the format of the revert reason in Besu's documentation.