1. Home
  2. Flux Marketplace
  3. Categories
  4. Masternodes
  5. Firo
  6. Host your FIRO Masternode via the Flux Cloud
  1. Home
  2. Flux Marketplace
  3. Projects
  4. Firo
  5. Host your FIRO Masternode via the Flux Cloud

Host your FIRO Masternode via the Flux Cloud

Getting Started

Ensure you have the latest Firo wallet and you have already obtained your 1000 FIRO (preferably just a bit more to cover fees when you’re transferring around).

Step 1: Encrypt and Backup your wallet on your Desktop wallet

  • If you haven’t done so already, make sure you encrypt your wallet on your local desktop wallet (PC/Mac/Linux).
  • Go to Settings > Encrypt Wallet.
  • After you have encrypted your wallet, it is also recommended to do a backup via File > Backup Wallet. It is recommended to store this wallet on a separate physical drive or pen drive. The wallet.dat is encrypted so even if the wallet.dat is exposed, if your password is long enough, it will be secure.

Please don’t forget your password! No one can help you if you lose your password.

The updated deployment method for Firo Masternodes on Flux Cloud enables the concurrent operation of three Firo Masternodes through a singular deployment process. To achieve this, it is recommended to iterate through Steps 2 and 3 thrice, generating three distinct Firo Masternode secrets for subsequent utilization.


Step 2: collateral your 1000 FIRO on your Desktop wallet

  • Your collateral address is where you will be storing your 1000 FIRO.

You can create the collateral address in two ways: using the Receive tab, OR in the Debug Window

Receive tab:

  • Click on the Receive tab. Enter a label for your collateral address in the Label field and click on Request Payment. A window should pop up with a Firo address.

Debug Window:

  • Go to Help > Debug Window > Console and type in getnewaddress
  • In one single transaction, send exactly 1000 FIRO into the masternode collateral address that you created. Do not send 500 and then another 500. It has to be in one single transaction. Do not tick subtract fee from amount.

It is not recommended to send it direct from an exchange as they might deduct certain withdrawal fees resulting in less than 1000 FIRO in that transfer.

  • Wait 1 confirmation for this transaction to be valid as your masternode collateral. When done correctly, the transaction id and transaction index will appear when you execute this command in the Debug Console: evoznode outputs

Special Notes only for those who are creating more than one masternode:

  • If you are doing more than one masternode, special care is required to ensure that you are creating collaterals properly. You do not want to break the previous 1000 FIRO collateral you just made by taking funds from that collateral.
  • To do this, on your local desktop wallet turn on coin control by going to Settings > Options > Wallet and click on Enable coin control features. This will enable control of which funds you are using when making your next 1000 FIRO collateral.
  • Then go to your Send tab, and you will see Coin Control Features. Click on Inputs. You should see your 1000 FIRO collateral there. Right click and click Lock Unspent. This means that when making your new collateral, your wallet will not touch these funds.
  • Once you have done this, you can make the next 1000 FIRO collateral for your next masternode. Repeat this everytime you have made a new masternode.
  • You can always verify you’re doing this correctly by going into Help > Debug Window and typing evoznode outputs which would display all masternode capable collaterals.

Step 3: Creating ownerAddress, payoutAddress, feeSourceAddress and operatorKey/operatorPubKey

a, b, and c can be generated through Receive tab or the Debug Window, just like the collateral address above.

a. ownerAddress

  • Proof that you own the masternode. Must be in the same wallet as collateral. DO NOT USE THE COLLATERAL ADDRESS AS OWNER ADDRESS.
  • DO NOT SEND COINS TO THE OWNER ADDRESS. DO NOT USE IT AS PAYOUT ADDRESS. DO NOT USE THIS ADDRESS FOR ANY OTHER PURPOSE.

b. payoutAddress

  • Address the masternode will pay out to. Can be inside the same wallet or an external address.

c. feeSourceAddress

  • An address with funds to pay the transaction fee for registering your masternode. To get a list of addresses with funds, enter the following command in the Debug Window: listaddressbalances 0.01
  • If you do not have any, you can create an address and send some Firos there. You can then use the address as feeSourceAddress.

d. operatorKey/operatorPubKey

  • In Debug Console, enter bls generate. The output will be similar to this:

{
“secret”: “2e551176c4cd5a2e26f3a1c61f151487e013f7095ffbc0f62b5c2b251e7bd84c”,
“public”: “89d395bc75e99527e80d3bbd408a5b41bbf37e7e1e26c5924da734008d1aa4a3f5e42a968bef541cb1c9a0899280d29b”
}

  • secret: This is your operatorKey (for protx) and also the znodeblsprivkey for use in Step5: Finding our your IPs + Adding your Firo Masternode Private Key to your three Flux Cloud Servers
  • public: This is your operatorPubKey (for protx)
  • You cannot regenerate the same pair of keys, but you can generate the public key from the secret key if you lose the public key.

Step 4: Installing your Firo Masternode via the Flux Cloud Marketplace

  • We first need to head over to https://home.runonflux.io/
  • Once here, we need to login using our ZelID. Available for us via Zelcore https://zelcore.io/ (Remember to use always the official links)
  • Please authenticate by clicking on the fingerprint button or manually by signing the message manually on your Zelcore Wallet with the ZelID App
  • Now that you have been authenticated, go to “Marketplace” on the left-hand menu. Once there look for the FiroMN application — You will find them under the ‘Masternode’ category, where various subscription models with different durations are available.
  • Simply click on “Start Launching Marketplace App”
  • Next, you will see a screen like this:
  • You can click “Next” or copy the Registration Message if you want to sign the message manually using your ZelID App, and then click “Next.”
  • Here, you can click the fingerprint button to sign the request for the application. If you have done this manually, paste the signed message from the earlier step onto your ZelID.
  • You will now see the monthly cost for your application. Click on “Register Flux App.”
  • You will be given payment information in FLUX. Payment is made through the FLUX blockchain using FLUX coins.
  • You’re done! We now need to wait for your Masternode to be spawned on an available FluxNode, which usually takes around 10–30 minutes.

Step5: Finding our your IPs + Adding your Firo Masternode Private Key to your three Flux Cloud Servers

  • When logged in via your ZelID you can head over to https://home.runonflux.io/apps/globalapps and to the “My Active Apps” Tab. Here you will be able to Manage and visit your new Masternode deployment that you have just done. Click on the arrow pointing down to see your application specifications and the IPs running it.
  • You will need these IPs to set up your Masternode from the Firo Wallet side. Particularly on Step 6: Registering your Firo Masternode
  • Access each server individually by selecting “Visit FluxNode” for each.
  • Once there, click on the desired option under “Log In” to sign in. We support ZelID, accessible through the Zelcore wallet, as well as MetaMask or any wallet that has WalletConnect support.
  • Now that you have been authenticated, go to “Apps” and select “Local Apps” from the left-hand menu, then select “My Local Apps”
  • Select “Manage” for your Frio Masternode application you wish to access. A pop-up will appear. Proceed by clicking on “Manage App.”
  • Navigate to the “Execute Commands” section, where you will encounter the following user interface.
  • Choose “/bin/bash” from the drop-down menu labeled “-Please select command-” and subsequently press the green “Connect” button.
  • You now possess direct access to the server, allowing you to execute commands as needed.
  • Execute the provided command to update your firo.conf file with the Masternode private key generated during Step 3, the secret
  • /key.sh <past secret>
  • For Instance: /key.sh 09674b6dd7126813d21eb940f90c47fe06c93f25a585d055b07011d57b856974
  • Verify the successful saving of the Masternode private key by executing the following command: cat /root/.firo/firo.conf
  • Subsequently, initiate a restart of your application by navigating to the “Control” section in the left-hand menu, and selecting “Restart App” under the “Control” options.
  • Upon the successful restart of your application, you should receive a notification at the top right. To confirm the persistence of your secret, double-check by clicking on “Execute Commands” again and utilizing the following command one more time: cat /root/.firo/firo.conf
  • Congratulations! You have effectively configured one Flux Cloud server. You can now replicate the Step 5 procedure with the remaining two server IPs you own to concurrently operate three Firo Masternodes, each using distinct secrets.

Step 6: Registering your Firo Masternode

The registration process must be done on your local Firo wallet, not on your Masternode Server on Flux Cloud

  • Once you have done all the above, you can now register your masternode with the following command:

protx register collateralHash collateralIndex ipAndPort ownerAddress operatorPubKey votingAddress operatorReward payoutAddress feeSourceAddress

Details:

  • collateralHash: transaction ID of your 1000 FIRO collateral (from “evoznode outputs”)
  • collateralIndex: transaction index of your 1000 FIRO collateral (from “evoznode outputs”)
  • ipAndPort: One of your IP addresses from Step 5 and port 8168 of your masternode
  • ownerAddress: the ownerAddress, generated in Step 3
  • operatorPubKey: the “public” part of the “bls generate” output, generated in Step 3
  • votingAddress: “” (defaults to ownerAddress)
  • operatorReward: 0
  • payoutAddress: A valid Firo address for your masternode payouts, generated in Step 3
  • feeSourceAddress: A valid Firo address with funds in it to fund the masternode registration, from Step 3
  • Before you are able to enter the command, you must first unlock your wallet: walletpassphrase YOURPASSWORD 60
  • This command will unlock your wallet for 60 seconds and returns a (null) message when successfully executed.
  • If everything is correct, you should get a transaction ID.

Example

protx register 4950f88867b69760d3cd7c1f53531340f6723eb8f7d7f00730abfa12c5fe10e0 0 207.148.122.12:8168 TRVDAxJwaZYFfmti4aTeKCByz1jbMq8Jy4 995b3e1e2a65ce960a8cc7d305c5914b7f60e888c338c1f3317efbdcac58e82ecc110315ce03f49d9d387ff35c2796ad “” 0 TEZ8M8Fgp8h4HvUjXtjz3krYraRtySiXdw TQGmCxUQHK2xKGYNyeqGdSYQqfEAB2hjtd`

Details:

  • collateralHash: 4950f88867b69760d3cd7c1f53531340f6723eb8f7d7f00730abfa12c5fe10e0
  • collateralIndex: 0
  • ipAndPort: 207.148.122.12:8168
  • ownerAddress: TRVDAxJwaZYFfmti4aTeKCByz1jbMq8Jy4
  • operatorPubKey: 995b3e1e2a65ce960a8cc7d305c5914b7f60e888c338c1f3317efbdcac58e82ecc110315ce03f49d9d387ff35c2796ad
  • votingAddress: “”
  • operatorReward: 0
  • payoutAddress: TEZ8M8Fgp8h4HvUjXtjz3krYraRtySiXdw
  • feeSourceAddress: TQGmCxUQHK2xKGYNyeqGdSYQqfEAB2hjtd
  • Registration is successful once the transaction containing your registration is mined and is included in a block. To check, copy the transaction ID and enter it here: explorer.firo.org
  • Once the transaction is mined, the nodes you just registered should appear in the masternodes tab in the wallet.
  • Ensure that you repeat this step for all three Firo Masternodes configured during Step 5.

Step 7: Check the Masternode Status on your Flux Cloud Server

Do not skip this step. To check your masternode’s status on the masternode itself, do the following:

  • Visit https://home.runonflux.io/ and log in with your ZelID
  • Navigate to “Apps”, “Global Apps”, “My Apps”
  • Click the extension arrow on your Masternode deployment
  • Visit your choosen Server IP by clicking on “Visit FluxNode”
  • Log in with your ZelID
  • Navigate to “Apps”, “Local Apps”, “My Local Apps”
  • Click “Manage”, “Manage App”, “Log File”

If everything was setup correctly, you should see your masternode’s details along with these two lines at the bottom:

“state”: “READY”,
“status”: “Ready


Unbanning your masternode

The ubanning process must be done on your local wallet, not on your Flux Cloud server

  • Your masternode is banned if it has the POSE_BANNED status. You can unban your masternode by entering this command in your local wallet’s Debug Console:protx update_service proTxHash ipAndPort operatorKey operatorPayoutAddress feeSourceAddress

Details:

  • proTxHash: the proTxHash of your masternode. In the Masternodes tab on your local wallet, right-click on the banned node and choose ‘Copy Protx hash’
  • ipAndPort: ipAndPort of banned masternode
  • operatorKey: znodeblsprivkey of the masternode, usually inside firo.conf on the masternode. This is different than the operatorPubKey!
  • operatorPayoutAddress: “” , if you set your operatorReward to 0 during registration
  • feeSourceAddress: an address in the local wallet that has FIRO to fund the transaction. Can be obtained with the listaddressbalances command
  • Please ensure that you have fixed the problem that caused the ban before unbanning your masternode otherwise it will get banned again. A more detailed guide is here.
  • After unbanning, ensure that you check the status of the masternode in both the wallet and the masternode itself.

Renewing your Flux Cloud Subscription

  • Remember, your Firo Masternode is only subscribed for your chosen plan initially. You will need to renew payment before the plan ends, so it does not get kicked off the network. We give you the choice to renew it for a longer terms after the first deployment for up to one whole year. Please do the following:
  • Visit https://home.runonflux.io/ and log in with your ZelID
  • Navigate to “Apps”, “Global Apps”, “My Apps”
  • Click “Manage”, “Manage App”, “Update Specifications”
  • Leave all the variables like they are, except the PERIOD field — Adjust it to your preference. Next click on “Compute Update Message”
  • Sign the Message with the ZelID App and click “Update Flux App” after
  • Click “Pay with Zelcore” to make the Flux Payment
  • Voilà your Node has been renewed for your chosen duration

Have Fun supporting Firo with decentralized Masternodes!

Learn more about Flux at www.runonflux.io

Learn more about Firo at https://firo.org/

Updated on June 6, 2024

Related Articles