Associate Address with web3name
Associating your Decentralised Identifier (DID) on KILT Network with any of your other web3 accounts:
Last updated
Associating your Decentralised Identifier (DID) on KILT Network with any of your other web3 accounts:
Last updated
There is currently no user-friendly interface for linking account information and web3name alias, work on them is ongoing hopefully they will appear soon. Now in order to perform this activity you will need:
A script from , also that repo contains pretty well described workflow how to do any operations with your DID.
Utility from our repo - which will use to take a hash from your data
To associate web3name with your account you should follow a few steps:
Create a file with your accounts based on . Example of that file:
Publish that file somewhere like GitHub, IPFS, etc, store the link it will need in next step
Clone the repo on your local machine
Run the app
As a result you will get a file content and the hash which will be used in next steps as serviceEndpoint.id Example of script output:
Now we need to go to the polkadot.js apps and generate encoded data for another script which will operate directly with our DID.
In order to do that open polkadot.js apps and select KILT network
Open Developer > Extrinsics
menu and select did.addServiceEndpoint()
Put our hash from previous operations as an id
serviceEndpoint.serviceTypes specify as KiltTransferAssetRecipientV1
In serviceEndpoints.urls put url to your accounts from previous steps
Now you can copy encoded call data, as shown on the screen bellow, the signer account does not matter. Save it it will need in next steps.
Now we are ready to generate a call itself, which associate your web3name with accounts from file.
Clone the repo on your local machine
Install dependencies
Export all necessary parameters
SUBMITTER_ADDRESS
: The KILT address (encoded with the KILT network prefix 38
) that is authorized to submit the transaction.
ENCODED_CALL
: The HEX-encoded call to DID-sign.
DID_URI
: The URI of the DID authorizing the operation
Run script
As a result we will get an encoded DID-authorized operation, example bellow, save it for future step.
Now we need to return to the polkadot.js app, switch tab to Decode and put encoded operation from previous step, as it shown on a screen:
Switch to Submission tab and sign it from SUBMITTER_ADDRESS
If everything was OK, you can find all accounts from file associated with your web3name alias in the Nova Wallet.
Generate hash for this file (refer to for more details)
Install dependancies, ensure that you have installed.
Change path to file in with yours:
You can find all information about that parameters in repo , here a short description: