peaq-js-sdk
.id
- The full Decentralized Identifier (DID) of the machine. It is based on the machine’s EVM address.
controller
- The entity that controls this DID in this case, the machine itself.
verificationMethods
- Defines how the machine proves its identity.
publicKeyMultibase
) is the machine’s wallet address.signature
- Generated by the admin who signs a canonical representation of the machine’s stored data.
EcdsaSecp256k1RecoveryMethod2020
(the algorithm used for signature verification).A verifier can use this field in combination with the unsigned message in peaq storage to confirm that the message was indeed signed by the admin & machine (see below).
services
- Links the DID Document to external data and related parties.
authentications
- Specifies the verification method to be used for authenticating the DID.
#keys-1
from the verificationMethods
section, meaning that the machine’s public key is used to authenticate operations associated with the DID.peaq | agung |
---|---|
Subscan | Subscan |
0x1f7701CbdadDB1775C525Ca6FcF18ec4135D228B
Paste this address into the search bar at the top of the agung explorer homepage. You’ll be directed to a detailed page for that wallet address, which looks like this:
updateAttribute(...)
- Used to update the machine’s DID Document.addStorage(...)
- Used to store a message in peaq storage.peaqdid(AttributeUpdated)
was triggered.project_name
was updated.BoundedVecValue
shows the actual value written — a serialized representation of the updated DID Document.