uint64 machine ID and have no Economics 2.0 activation. For 2.0 machines use the CLI or an SDK.
The ROS 2 wraps the same peaqOS capabilities documented in the JavaScript SDK and Python SDK, but changes the security boundary: callers pass addresses over ROS, while stay in a local registry file.
Prerequisites
- ROS 2 Jazzy on a native host, or the repository Docker image with ROS 2 Humble
- A peaq EVM
https://depinstation.peaq.xyzfor flows- A funded peaq EVM signer for registration, , events, , and
- ETH on the signer only if you need Base to peaq bridge operations
Configure
Clone the repository and create a local config:event_registry (0x43c6c12e…) and faucet base_url: no contract sits at that event_registry address, so an event sent there succeeds as a transaction and is not recorded.
peaq_robot.yaml after adding real addresses, local registry paths, or operational credentials.
Build and start
1. Create a local machine wallet
address, account_id, chain_id, network, label, and created_at.
2. Fund the machine wallet
Registration signs from the machine wallet and requires enough native peaq for plus the IdentityRegistry registration . Fund the returned<MACHINE_EVM_ADDRESS> before calling register.
You can use the Gas Station flow with owner 2FA:
<MACHINE_EVM_ADDRESS> from an already funded wallet. Wait for the balance to be available before registration.
3. Register the machine
For a self-managed machine, the node looks up<MACHINE_EVM_ADDRESS> in the local registry and signs the registration transaction with that wallet.
For a self-managed machine:
machine_id. This is the IdentityRegistry . It is not necessarily the .
4. Mint the Machine NFT and write DID attributes
5. MCR services
The node registers Tokenomics 1.0 machines, and itsmcr/query, mcr/machine and mcr/operator_machines services do not work with the MCR API.
6. Validate and submit events
Validate before broadcasting:events_json, a JSON array using the same event field names.
7. Predict or deploy a machine smart account
8. Bridge Machine NFT from peaq to Base
Production checklist
- Keep
peaq_os.wallet_registry.pathlocal to the robot or machine, permissions0600. - Quote all EVM addresses in ROS YAML service payloads.
- Record pre and post balances for production bridge or payment tests.
- Fund Base ETH before attempting Base to peaq bridge operations.
- Pin contract addresses to the values in Install.

