1. Create a Farm

Table of Contents


Introduction

The following section 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. You can also create a ThreeFold Farm with the ThreeFold Connect App.


1) Creating a Polkadot.js account

https://polkadot.js.org/extension/

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

Farming_Create_Farm_1

Choose Chrome or Firefox.

https://addons.mozilla.org/en-US/firefox/addon/polkadot-js-extension/

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

Farming_Create_Farm_1

Click Add to Firefox.

Farming_Create_Farm_3

Click Add.

Farming_Create_Farm_4

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


Farming_Create_Farm_5

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

Farming_Create_Farm_6

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

Farming_Create_Farm_7

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.

Farming_Create_Farm_8

This is what you see when your account is created.


2) Creating the Farm on the ThreeFold Grid

Go on the ThreeFold Dashboard.

https://dashboard.grid.tf/

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

Farming_Create_Farm_9

You will be asked to read and accept the Terms and Conditions.

Farming_Create_Farm_10

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

Farming_Create_Farm_11


Once you've confirmed the transaction, you want to create a relay address. The relay address should be the following:

relay.grid.tf

Make sure that relay.grid.tf is selected, then click "Create".

Farming_Create_Farm_12

You will once again be asked to confirm the transaction.

Then, click on the "Farms" button in the Portal menu to your left:

Farming_Create_Farm_13

On the "Farms" page, click on "Create Farm".

Farming_Create_Farm_14

Choose a farm name and click "Submit".

Farming_Create_Farm_15

Once the farm is created, click on the down arrow to see your farm details.

Farming_Create_Farm_16

In this section, click on "Add V2 Address" to add your farming rewards address.

Farming_Create_Farm_17

Write a valid Stellar address and click "Submit".

Farming_Create_Farm_17

You can, for example, use your ThreeFold Connect App* address or your hardware wallet address (Ledger, Trezor).

*ThreeFold Connect App Hyperlinks:


Optional: Add Public IP Addresses


Note: Assuming you are a farmer operating from your home, this field can usually be left blank. You do not have to fill in any details. The add IP option is for farmers that have a block of IP addresses routed to their router (in data centers mostly) and want to present “dedicated IP” addresses for deployments.

The add IP option is for farmers that have a block of IP addresses routed to their router. This is mainly for data centers, but some ISP can provide this service for residential locations. With such public IP addresses, your TF farm and/or your 3Nodes can present “dedicated IP” addresses for deployments. Unless you are paying for a block of IPs, you only have one static IP which is needed for you router

The ThreeFold simulator is referring to this IP address. Only check the Public IP option in the simulator if you have such block of IP addresses.

farming_001


How to configure public IP addresses for a ThreeFold farm or a 3Node


To configure public IP addresses for your 3Node farm, select the Farms section of the Portal menu in the ThreeFold Dashboard, expand your farm by clicking on the down arrow on the left, then click on the down arrow to the right of the subsection Public IPs.

Farming_Create_Farm_18

Click on "Add IP".

Farming_Create_Farm_19

Specify the IP address using CIDR format, add the gateway and then click "Save".

Farming_Create_Farm_20

The same process can be done for individual 3Nodes. This is available in the Nodes section, just below the Farms section of the "Farms" page.

To configure public IP addresses to a specific 3Node, click on the Actions Add a public config (represented with a Earth icon).

Farming_Create_Farm_21

Fill in the necessary information and click save. Only the IPv4 address and gateway are necessary. The IPv6 address and the Domain are optional.

Farming_Create_Farm_22


The Difference Between IPs Assigned to Nodes Versus a Farm


IPs assigned to a farm are available to be rented by workloads. They can be assigned to virtual machines for example. IPs assigned to nodes enable each node to become a gateway.