Joining and leaving services
Joining a service
After registering as an operator, you are now ready to join a service. To do this, you can run the following transaction:
Where:
[operator-id]
is the ID of your operator.[service-id]
is the ID of the service you want to join.<key-name>
is the name of the key that you are using to sing the transaction. The same account will be set as the admin of the service.<chain-id>
is the ID of the MilkyWay chain where you are broadcasting the transaction. You can find the various chain ids here.<RPC URL of the node>
is the URL of the RPC node to be used to broadcast the transaction. You can find the various chain RPCs here.
If you receive and error telling that you cannot join a service, it might be due to two reasons:
The service you are trying to join is still
INACTIVE
.The service you are trying to join only allows specific operators to join.
In both cases, please contact the administrator of the service you are trying to join to check what case applies and how to fix the issue.
Leaving a service
If you ever want to leave a joined service, you can run the following command:
Where:
[operator-id]
is the ID of your operator.[service-id]
is the ID of the service you want to leave.<key-name>
is the name of the key that you are using to sing the transaction. The same account will be set as the admin of the service.<chain-id>
is the ID of the MilkyWay chain where you are broadcasting the transaction. You can find the various chain ids here.<RPC URL of the node>
is the URL of the RPC node to be used to broadcast the transaction. You can find the various chain RPCs here.
Last updated