Creating a Farm / Farm ID - Zero-OS v3

The following guide will show you how to create a farm and a farm ID. In doing so, we will also learn how to create a Threefold Twin and how to use the polkadot.js extension on Chrome or Firefox to create an account on the blockchain.


1) Creating a Polkadot.js account

image

Go on this link and download the extension based on your browser.

image

Choose Chrome or Firefox.

image

In this case, we use Firefox. Clicking on Download for Firefox leads us to this URL.

image

Click Add to Firefox.

image

Click Add.

image

This message tells you that the extension was added. Select Allow this extension to run in Private Windows if you want, then click Okay.


image

At first, you have no account. Click on the + sign to create an account.

image

Write down your 12-word mnemonic seed and select I have saved my mnemonic seed safely, once you’ve done so!

image

Choose a descriptive name for your account. This name is not relevant. If you remove your account from the browser, you will need to enter your 12-word mnemonic seed and choose a new descriptive name.

You will need the password when accepting transactions. Choose it wisely.

image

This is what you see when your account is created.


2) Creating the farm on Threefold Grid

image

Go on the Threefold Portal.

image

As you’ve created and logged in your account, you will see your account in the list of connected accounts. Click on your account.

image

You will be asked to read and accept the terms and conditions.

image

You will be asked your password in order to confirm the transaction.


image

Once you confirm the transaction, your will land on the Twin page.

image

You want to create a Twin and let the standard IP address already written. Click Create.

image

You will once again be asked to confirm the transaction. At this point, you might think: I will click on the Remember my password for the next 15 minutes. Wise Farmer Indeed. You sign the transaction.

image

You’ve just created a Threefold Twin. This is the New Internet.


image
Click on the Farms button to your left. Then, click on Create Farm.

image
Choose a farm name and click Create.

image

You can Sign the transaction without entering your passwords and also choose to Extend the period without password by 15 minutes. Your choice. Your free will.

image

You’ve created a farm! Here we can see on the top left the farm ID. 327. Imagine, one day there will be millions!

image

Click on Add a Stellar address. Write your address and click save. You can, for example, use your Threefold Connect App* address or your hard storage device address (Ledger, Trezor).

*Threefold Connect App Hyperlinks:


image
Back on the Farm section, click on Take me to bootstrap button. This will lead you to the link above.

image

This is the Zero-OS v3 Bootstrapping page.

image

Write your farm ID and choose production mode.

image

If your system is new, you might be able to run the bootstrap in UEFI mode.

image

For older systems, run the bootstrap in BIOS mode. For CD/DVD, choose ISO. For USB…well, how can I say? Choose USB.

For the ISO image, download the file and burn it on a DVD.

For the USB and the EFI IMG images, with Linux, you will want to do:

sudo dd status=progress if=FILELOCATION.ISO(or .IMG) of=/dev/sd*.

Here the * is to indicate that you must adjust according to your disk. To see your disks, write lsblk in the command window. Make sure you select the proper disk!


For Windows, as @FLnelson said,

If you are using the “dd” image […] just use the free USB flashing program called Rufus and it will automatically do this with no need for Linux or command line

balenaEtcher is also a free and open-source program that works with Windows and MAC to boot images on USB keys.


To boot Zero-OS, insert your Zero-OS Bootstrap Image, power on your computer and choose the right booting sequence and parameters (BIOS or UEFI) in your BIOS settings. Then, restart the 3node and it should boot into Zero-OS.


The first time you boot a 3node, it will be written: “This node is not registered (farmer ***: NameOfFarm). This is normal. The Grid will create a node ID and you will be able to see it on screen. This can take a couple of minutes.

If time passes (an hour and more) and the node does not get registered, as @scott mentioned, in many cases,

wiping the disks and booting again resolves this.

Once you have your node ID, you can also go on the Threefold explorer to see your 3node and verify that all is good.


If you have questions, this FAQ might answer some of your questions. You can also join the Telegram Farmers Chat and ask for help and advice. Farmers will be happy to help you out!


That’s it! You have a farm as well as your Zero-OS bootstrap image containing your farm ID.

You got it.

Now, you know.
Now, you farm.

7 Likes

If you are using the “dd” USB image with a Window PC, just use the free USB flashing program called Rufus and it will automatically do this with no need for Linux or command line.

2 Likes

Great. I added this in the post. Thanks.

Love it, adding screenshots to every step is quite helpful! :clap: I used balenaEtcher to boot the image and it worked pretty well for me.

1 Like

I follow the steps but when I start my DIY server it says that the node is not registered yet. Is there anything else I must do?

1 Like

Hey @malkom

This is perfectly normal the first time the 3node connect to the grid. The 3node will register on the grid and the other times you boot it, it will already have its node ID registered.

If it persists more than 1 hour or so, you might have something off though. If it doesn’t register after some time, ask around the Telegram channel or the Threefold chat for more details and advice.

*I added this information on the post. Thanks for the feedback.

1 Like

Excellent post, and bonus points for style :slight_smile:

Regarding node not registered, indeed some patience is usually all that’s required. However, we’re seeing some cases lately where wiping the disks and booting again resolves this. I have an open issue to find the root cause and implement a fix.

2 Likes

OK great thanks. I added this in the post.

Excellent post @Mik, very detailed and precise. Next time challenge (get a 3node online within 10 minutes) I’ll point (new) people to this post! :clap:

2 Likes

What are the advantages of migrating to V3? any advantege in payouts?

Good question! Here’s a great post on this:

In short, v2 rewards decrease as the difficulty level increases. For the v3 rewards, the rewards are constant for 5 years.

2 Likes

This should be pinned too.

Have not done this yet, on the list of things to do before the end of the week!

if you are spinning up multiple farms, is it best to have 1 overall farm with multiple nodes (machines) or one farm & node per machine?

The only reason I see of having multiple farms, is if you want to send TFT to different addresses.

So, in general, you only need 1 farm and 1 farm can have multiple 3nodes.

Thank you for the excellent instructions, I got my node up and going. Before I launch the second server. One question: later I installed Threefold Connect on ios, when I select Farmers the created farm is located below “Other v3 farms, Farms created with other platforms that have a payout to your TF Connect wallet”. I guess this is ok?

That is where it needs to be!