# Authenticate

Info

Authenticating allows you to change your name and increase the minimum payout as well as leaving and rejoining the pool.

From your My Farmer page on the pool you will see a green authentication button.

Clicking it will open a modal with instructions on what to do next:

1. Change into the directory, where the stai binary is located at. When using a git install this is inside the ./activate-ed repo directory. Otherwise, please use the following:

Open a powershell window and enter the following command:

cd (Get-Item "\$ENV:LOCALAPPDATA\stai-blockchain\app*\resources\app.asar.unpacked\daemon").fullname


Open a terminal and enter the following command:

cd /Applications/stai.app/Contents/Resources/app.asar.unpacked/daemon


Open a terminal/bash and enter the following command:

cd /usr/lib/stai-blockchain/resources/app.asar.unpacked/daemon


2. Next we need to obtain the fingerprint for the pool public key, by entering the following command into the shell:

.\stai keys show

./stai keys show


Info

If you have multiple keys please use the fingerprint for the key you used to create your OG plots with.

3. Now we need to sign the data from the modal with our keys, identified by the fingerprint from above. To do so you need to run the following command with both the data to sign and your fingerprint from above substituted:

.\stai keys sign -t "m/12381/8444/1/0" -d <the data to sign here> -f <your fingerprint here>

Example
.\stai keys sign -t "m/12381/8444/1/0" -d 1632306148 -f 67890123456

./stai keys sign -t "m/12381/8444/1/0" -d <the data to sign here> -f <your fingerprint here>

Example
./stai keys sign -t "m/12381/8444/1/0" -d 1632306148 -f 67890123456


Info

Please note that the data to sign shown in the modal is updated every time the modal is (re-) opened, as it reflects the current time in seconds.

4. Finally, copy the signature from above into the modal on the pool website. It is important that no excess whitespaces or line breaks are included.

Example

a403f2500b96d69cf415480edd437b6d88fdd45723495f4237c85bbecd8f25895eb1b6ea7c09ef7eb7fe71896f0ddca011b854ab8eec044aa794b48f1d7e1244310a1c44ecb3398c91ec1c182d20753fa1c5929bbb4b7457b0427a52a236debc