- Aragon app displays a QR code with its IP address and Ethereum address, and router’s new IP address.
- Router dash turns on camera
- Router dash reads Aragon QR code, sends request to router backend
- Router backend saves the IP address of the router (/64) and Ethereum contract address of subnet DAO
- Router backend sends response with router’s Ethereum address to router dash
- Router dash displays QR code with address
- Aragon app sees QR code and adds router to Subnet DAO node list
- The router IP address needs to be generated randomly, but within the range of the subnet, and not conflicting with existing IPs.
- The router IP is actually going to be a /64
- The subnet is going to be a /48
- Randomly generate a /64 within a certain /48 and check that it doesn’t conflict.
- Use a hardcoded subnet /48
Potential Placement of Unique Identifiers for QA automation:
- SubnetDAO input field
- Add Subnet DAO Button
- Each address container
- Each Address’ “Remove” Button
- Join SubnetDAO w/ QR button
Then only one QR scan would be necessary for “activation”.
super easy, 5 minutes or less. Of course you still need to re-bake the firmwares but that’s not an attended operation.