Blocx - Getting Started

Please note that these steps are rather complicated. Please work slowly and take a note of every command you enter and the output from each one.

STEP 1

Open your Windows wallet.

Go to Tools -> Debug console.

STEP 2

Type the following RPC command, to create an address for the masternode fee:

getnewaddress

Example output

BHu7BFFtfsU3FgfUX1y5JnAQNVZ28348UK

STEP 3

Go back to your wallet overview.

Press on the toolbar button "Send".

Enter the address from the RPC command “getnewaddress” behind the text "Pay To:". (Example: BHu7BFFtfsU3FgfUX1y5JnAQNVZ28348UK)

Enter the following amount of coins behind the text "Amount:": 5

Press on the button "Send".

Wait until the transaction is confirmed by 4 blocks.

STEP 4

Go back to the console of your wallet.

Type the following RPC command, to create an address for the masternode collateral:

getnewaddress

Example output

BRrfbPvmgds7XFvU4xhsCVegDM4Do6EyYp

STEP 5

Go back to your wallet overview.

Press on the toolbar button "Send".

Enter the address from the RPC command “getnewaddress” behind the text "Pay To:". (Example: BRrfbPvmgds7XFvU4xhsCVegDM4Do6EyYp)

Enter the following amount of coins behind the text "Amount:": 100,000 or 10,000

Press on the button "Send".

Wait until the transaction is confirmed by 4 blocks.

STEP 6

Go back to the console of your wallet.

Identify the transaction with the following RPC command:

masternode outputs

Example output

{ "618599438df959fc0647ad1895808ba0fef96282bf24eb177134cb0c329c8d41": "1" }

STEP 7

Generate a BLS key pair with the the following RPC command:

bls generate

Example output

{ "secret": "5120af1f913b8a4b459e19cc3ef3f865ba891404853fa317f348635b347e12ef", "public": "050564992464a87643d273e87334fda1e8beb52e9605b9cef2fe73eb3a063f12c8f03a6fa4f07e26a1e9e5175e155c91" }

STEP 8

Type the following RPC command, to create an address for the owner of the masternode:

getnewaddress

Example output

B6ZhT7SR1BQSUYrab3isCGEmJGwndSxGod

Type the following RPC command, to create an address for used for proposal voting:

getnewaddress

Example output

B5HXmW9iYzZq89LdH8eUXEzSwwwEaQ3XKS

Type the following RPC command, to create an address to receive the masternode reward:

getnewaddress

Example output

BLvahoF6T7b8NY5wACtDoS9NzWPjRhNKuL

STEP 9

Prepare the ProRegTx transaction by modifying the following line.

protx register_prepare (or protx register_prepare_lite for a lite node) 618599438df959fc0647ad1895808ba0fef96282bf24eb177134cb0c329c8d41 1 159.89.31.63:12972 B6ZhT7SR1BQSUYrab3isCGEmJGwndSxGod 050564992464a87643d273e87334fda1e8beb52e9605b9cef2fe73eb3a063f12c8f03a6fa4f07e26a1e9e5175e155c91 B5HXmW9iYzZq89LdH8eUXEzSwwwEaQ3XKS 0 BLvahoF6T7b8NY5wACtDoS9NzWPjRhNKuL BHu7BFFtfsU3FgfUX1y5JnAQNVZ28348UK

618599438df959fc0647ad1895808ba0fef96282bf24eb177134cb0c329c8d41 - Transaction id from the RPC command “masternode outputs”.

1 - Single digit from the RPC command “masternode outputs”.

159.89.31.63:12972 - External IPv4 address of your VPS.

B6ZhT7SR1BQSUYrab3isCGEmJGwndSxGod - Address of the owner of the masternode.

050564992464a87643d273e87334fda1e8beb52e9605b9cef2fe73eb3a063f12c8f03a6fa4f07e26a1e9e5175e155c91 - “public” value from the RPC command “bls generate”.

B5HXmW9iYzZq89LdH8eUXEzSwwwEaQ3XKS - Address used for proposal voting.

0 - Don't forget this 0

BLvahoF6T7b8NY5wACtDoS9NzWPjRhNKuL - Address to receive the masternode reward.

BHu7BFFtfsU3FgfUX1y5JnAQNVZ28348UK - Address to where you send the masternode amount fee.

Paste the modified line into your console.

Example output

{ "tx": "0300010001ac7584669c70526e0e338d6a2477dc648788140dd0dcbc5915878f9c632d129b0100000000feffffff01e551cd1d000000001976a9149385c0ceafd77df3619e604f4ce7d0317bbcbfae88ac00000000d1010000000000418d9c320ccb347117eb24bf8262f9fea08b809518ad4706fc59f98d439985610100000000000000000000000000ffff9f591f3f32ac1730a9104ead8b642345c1300e81c4d78e874de6050564992464a87643d273e87334fda1e8beb52e9605b9cef2fe73eb3a063f12c8f03a6fa4f07e26a1e9e5175e155c910929cbddb56d0fbd2993de634c3ed42de5a8455700001976a914b4b5864ed646cd8591a8ed996fa6c25de0b98bce88ac8f420b431efe6e62a55533099d2e99759767d38f94461325508afe3feadd0a9f00", "collateralAddress": "BRrfbPvmgds7XFvU4xhsCVegDM4Do6EyYp", "signMessage": "BLvahoF6T7b8NY5wACtDoS9NzWPjRhNKuL|0|B6ZhT7SR1BQSUYrab3isCGEmJGwndSxGod|B5HXmW9iYzZq89LdH8eUXEzSwwwEaQ3XKS|c8ebf2ae235d658e0809915348718dbb262f6884473c00448ba93e7ce4648070" }

STEP 10

Sign the ProRegTx transaction by modifying the following line.

signmessage "BRrfbPvmgds7XFvU4xhsCVegDM4Do6EyYp" "BLvahoF6T7b8NY5wACtDoS9NzWPjRhNKuL|0|B6ZhT7SR1BQSUYrab3isCGEmJGwndSxGod|B5HXmW9iYzZq89LdH8eUXEzSwwwEaQ3XKS|c8ebf2ae235d658e0809915348718dbb262f6884473c00448ba93e7ce4648070"

BRrfbPvmgds7XFvU4xhsCVegDM4Do6EyYp - “collateralAddress” value from the RPC command “protx register_prepare”.

BLvahoF6T7b8NY5wACtDoS9NzWPjRhNKuL|0|B6ZhT7SR1BQSUYrab3isCGEmJGwndSxGod|B5HXmW9iYzZq89LdH8eUXEzSwwwEaQ3XKS|c8ebf2ae235d658e0809915348718dbb262f6884473c00448ba93e7ce4648070 - “signMessage” value from the RPC command “protx register_prepare”.

Paste the modified line into the console of your wallet.

Example output

ILrWvvZRZeZhnfFtNwd087rwGsiPJH28GfmoPfjSDhUcEY+joeUd82/lqVnO0FD0V1L8vpjYju92fjMPITVScGI=

STEP 11

Submit the ProRegTx transaction by modifying the following line.

protx register_submit 0300010001ac7584669c70526e0e338d6a2477dc648788140dd0dcbc5915878f9c632d129b0100000000feffffff01e551cd1d000000001976a9149385c0ceafd77df3619e604f4ce7d0317bbcbfae88ac00000000d1010000000000418d9c320ccb347117eb24bf8262f9fea08b809518ad4706fc59f98d439985610100000000000000000000000000ffff9f591f3f32ac1730a9104ead8b642345c1300e81c4d78e874de6050564992464a87643d273e87334fda1e8beb52e9605b9cef2fe73eb3a063f12c8f03a6fa4f07e26a1e9e5175e155c910929cbddb56d0fbd2993de634c3ed42de5a8455700001976a914b4b5864ed646cd8591a8ed996fa6c25de0b98bce88ac8f420b431efe6e62a55533099d2e99759767d38f94461325508afe3feadd0a9f00 ILrWvvZRZeZhnfFtNwd087rwGsiPJH28GfmoPfjSDhUcEY+joeUd82/lqVnO0FD0V1L8vpjYju92fjMPITVScGI=

0300010001ac7584669c70526e0e338d6a2477dc648788140dd0dcbc5915878f9c632d129b0100000000feffffff01e551cd1d000000001976a9149385c0ceafd77df3619e604f4ce7d0317bbcbfae88ac00000000d1010000000000418d9c320ccb347117eb24bf8262f9fea08b809518ad4706fc59f98d439985610100000000000000000000000000ffff9f591f3f32ac1730a9104ead8b642345c1300e81c4d78e874de6050564992464a87643d273e87334fda1e8beb52e9605b9cef2fe73eb3a063f12c8f03a6fa4f07e26a1e9e5175e155c910929cbddb56d0fbd2993de634c3ed42de5a8455700001976a914b4b5864ed646cd8591a8ed996fa6c25de0b98bce88ac8f420b431efe6e62a55533099d2e99759767d38f94461325508afe3feadd0a9f00 - “tx” value from the RPC command “protx register_prepare”.

ILrWvvZRZeZhnfFtNwd087rwGsiPJH28GfmoPfjSDhUcEY+joeUd82/lqVnO0FD0V1L8vpjYju92fjMPITVScGI= - Output from the RPC command “signmessage”.

Paste the modified line into the console of your wallet.

Example output

9c76272b7ef2a7456c84158424eb138bd3636b09aa2beae973bbed921f1f7868

From the Node Orbit dashboard, you can simply update your node with the secret key generated from the bls generate command.

Last updated