Get SN Registration Command

Once your funds have been received and unlocked, you can get the registration command for your service node.

Make sure the wallet CLI is CLOSED (you should be back at the PS C:\...> prompt)

Replace <MY_ADDRESS> with your wallet address from Step 7.

PRIOR TO HF16 - Windows (PowerShell)

Copy and paste this command (replace <MY_ADDRESS> with your actual address)

  • Use this command to display the full command and automatically copy it to your clipboard:

  • Change operator cut for a different operator fee

  • Change contributor amounts for different operator initial stakes

$result = Invoke-RestMethod -Uri http://127.0.0.1:18091/json_rpc -Method Post -ContentType "application/json" -Body '{"jsonrpc":"2.0","id":"0","method":"get_service_node_registration_cmd","params":{"operator_cut":"10.0","contributor_addresses":["YOUR_ADDRESS"],"contributor_amounts":[18446744073709551612],"staking_requirement":100000000000000}}'; $result.result.registration_cmd

You'll get a response that looks like this:

register_service_node 1000 YOUR_ADDRESS 18446744073709551612 1770348590 9c6ea2a98ffee39d936a4fd19a375ad3f53fed492f67066148d6aaf39c25448d a0d622857ca707e43a3bd981c8c0bb66fa8148e42ba499bb59b39e0b141aaa0266b7c655cf9f4166535556dde1c071d8247bbbf730f2f2ce7c6872569e2b5b01

AFTER HF16 - Windows (Powershell)

Full Node (100k XEQ):

$result = Invoke-RestMethod -Uri http://127.0.0.1:18091/json_rpc -Method Post -ContentType "application/json" -Body '{"jsonrpc":"2.0","id":"0","method":"get_service_node_registration_cmd","params":{"operator_cut":"10.0","contributor_addresses":["XEQTTEHPnaGUxZrdNPqdjNDPryJCkGQxRBLwkRPk6Czm2Vuwmt7U1g85EPgCAQMGdfKzsor2rgiF7W7RPvsKiGXJ2uyy5AE8YR"],"contributor_amounts":[100000000000000],"staking_requirement":100000000000000}}'; $result.result.registration_cmd

Pool Node (25k XEQ Min):

$result = Invoke-RestMethod -Uri http://127.0.0.1:18091/json_rpc -Method Post -ContentType "application/json" -Body '{"jsonrpc":"2.0","id":"0","method":"get_service_node_registration_cmd","params":{"operator_cut":"10.0","contributor_addresses":["XEQTTEHPnaGUxZrdNPqdjNDPryJCkGQxRBLwkRPk6Czm2Vuwmt7U1g85EPgCAQMGdfKzsor2rgiF7W7RPvsKiGXJ2uyy5AE8YR"],"contributor_amounts":[25000000000000],"staking_requirement":100000000000000}}'; $result.result.registration_cmd

PRIOR TO HF16 - Linux

Copy and paste this command (replace <MY_ADDRESS> with your actual address):

If you don't have jq installed, use this alternative:

You'll get a response that looks like this:

AFTER HF16 - Linux

Full Node (100k XEQ):

Pool Node (25k XEQ):

Copy the registration_cmd value - it's the long command that starts with register_service_node.

Note: Replace <MY_ADDRESS> with your actual wallet address. The command starts with register_service_node and is very long (one continuous line).

Note: Make sure you have enough XEQ in your wallet and that the funds are unlocked.


Last updated