core_node exposes fully lifecycle-managed services so every robot can create and query decentralized identities (DIDs) without leaving ROS tooling.
| Service | Type | Purpose |
|---|---|---|
/peaq_core_node/identity/create | peaq_ros2_interfaces/srv/IdentityCreate | Create a DID with optional metadata |
/peaq_core_node/identity/read | peaq_ros2_interfaces/srv/IdentityRead | Return the DID document linked to the node wallet |
When to Use It
- Provision new robots on the peaq network directly from ROS launch flows
- Attach metadata to robots for fleet discovery and access control
- Audit DID state via ROS services before orchestrating missions
Launch Prerequisites
peaq_robot.yaml holds sufficient testnet funds.
Create a DID
peaq/tx_status:
PENDING → IN_BLOCK → FINALIZED. The node publishes the DID to /tmp/core_node.log once finalized.
Read the DID Document
Integrate in Launch Files
Embed identity creation in automated provisioning flows:ros2 service call or include a lightweight automation node that wraps the service call to guarantee every robot registers itself when it boots.
Operational Tips
- Store metadata (e.g.,
robot_model,location) to simplify downstream access control rules. - Use
FINALconfirmation mode for production identity provisioning by settingPEAQ_ROBOT_CONFIRMATION_MODE=FINAL. - Automate faucet funding in CI pipelines to avoid manual intervention when spinning up new test robots.

