Downloads
Farmswap Signing
Download the file for your computer. Before the first start, check it as the guide below says.
- Windows (64-bit)FarmswapSigning-windows-x64.zip, 38.9 MB, sha256
8d3a791caddde7d149e71b4ac078ab47a85cb4c4ee98f462021b01bdc9099cab - Mac with Apple chip (M1 or newer)FarmswapSigning-macos-arm64.tar.gz, 42.2 MB, sha256
77e8bf7ae2e7ad84dbb3b332ac06e0801e59d934d026ea244f9b54e398751a44 - Mac with Intel chipFarmswapSigning-macos-x64.tar.gz, 43.5 MB, sha256
4745a719afdb8e42b577bbec7bddf47b63e435780e2ceffee2ac3c18b43c4935 - Linux (64-bit)FarmswapSigning-linux-x64.tar.gz, 45.9 MB, sha256
48efca68d7eda4f4226e19025b4a6b943e0cf26fbb429c8bfb7e1c63049e7689
Guide for key holders
- Guide for key holdersHOLDER-GUIDE.md, 8 kB, sha256
3d09f5dd613dd68d3d7d51212ad2afbc6efb67cd4f891a49de18410f605258b2
Farmswap Signing: guide for key holders
You hold one of three keys. A change to a Farmswap contract happens only when two of the three holders sign it. The program Farmswap Signing makes your key and signs requests. It never uses the internet.
Get the program
Download the file for your computer from the signing site.
Before the first start: check your download
The program on the signing site could have been changed. Check the downloaded file itself before you start it the first time:
- Open the release page: github.com/Farmswap-dex/signing. Open it only from the link the organiser sent you directly (e-mail or chat), never from a link on the signing site. It has the checksum list: one line per file.
-
Make the checksum of your download with your computer's own tool:
-
Windows: open your Downloads folder in File Explorer. Click once into the address bar at the top, type
cmdand press Enter: a black command window opens in that folder. Typecertutil -hashfile FarmswapSigning-windows-x64.zip SHA256and press Enter. -
Mac: open Terminal (Applications > Utilities). Type
cd ~/Downloadsand press Enter, thenshasum -a 256 FarmswapSigning-macos-arm64.tar.gz(or...-macos-x64.tar.gz) and press Enter. -
Linux: in a terminal, in the download folder:
shasum -a 256 FarmswapSigning-linux-x64.tar.gz(orsha256sum ...).
-
Windows: open your Downloads folder in File Explorer. Click once into the address bar at the top, type
- Compare the long code with the line for the same file name in the checksum list. Every character must be the same. If it differs: do not start the program, delete the download and call Farmswap.
The first screen of the program shows a "Program code". It is for support only: a changed program can show the genuine code too. Your check is the one above.
Unpack and start
-
Windows:
FarmswapSigning-windows-x64.zip. Right-click it, Extract All, open the new folder Farmswap Signing and double-clickFarmswapSigning-windows-x64.exethere. (That new folder may be inside Downloads; that is fine. Never start the program from the Downloads folder itself, and never put other files next to it: the program refuses to start if other programs or.dllfiles are in its folder.) Windows shows a blue box "Windows protected your PC": click More info, then Run anyway. (The program has no paid signature from Microsoft, so Windows does not know it.) -
Mac:
FarmswapSigning-macos-arm64.tar.gz(Apple chip, M1 or newer) or...-macos-x64.tar.gz(older Intel Mac). Double-click it to unpack, then double-clickFarmswapSigning-macos-.... macOS says it cannot check the program: click Done, open System Settings > Privacy & Security, scroll down, click Open Anyway next to the program's name, and confirm. (Only the first time.) If the Mac asks whether Terminal may open files in Downloads, say yes. -
Linux:
FarmswapSigning-linux-x64.tar.gz. Unpack it and double-click the program (or run it in a terminal).
A text window opens with a menu. Type a number and press Enter. Your files are kept in the folder Farmswap Signing in your user folder (Windows C:\Users\<you>\Farmswap Signing, Mac and Linux ~/Farmswap Signing), not in Documents, Desktop, OneDrive, iCloud or Dropbox: your key file must not be copied to the internet. The program shows the full path and opens the folder for you.
1. Make your key (once)
Choose 1 Make my key. You need: paper and a pen (or your password manager), and a quiet moment with nobody watching.
- Type MAINNET (the real network: the key for the real Farmswap contracts) or PREVIEW (the test network, for rehearsals). A preview key never works on mainnet, and the same words and password give a different key for each answer.
-
Type a short name, for example your first name. The program puts the network in front of it: your key is called for example
mainnet-annaorpreview-anna. - Choose your password first: four or five random words with spaces between them (at least 12 characters; easy ones like a name with a year are refused). Use plain letters, digits and spaces: special letters (like ä or é) may come out differently on another keyboard. Learn it by heart. You may keep it in your password manager, but never keep the words and the password in the same place. If you want to stop here, just press Enter: nothing has been made yet.
-
The program shows 24 recovery words. Save them, with their numbers, in order:
- on paper (keep it away from the computer), or
- typed into your password manager. (You can also type C to copy them, but clipboard history and cloud clipboards may keep a copy; on Windows press Win+V afterwards and delete the entry.)
- Test: the screen is cleared and you type all 24 words from your paper (or paste them) and the password once more. Only if they give the same key is anything saved; otherwise you start again with new words.
-
The program shows MAINNET key or PREVIEW key and your fingerprint (like
3fa2-91bc-07d1) and makes two files:-
mainnet-yourname.pub.json: your public key file. Upload this one on the signing site. -
mainnet-yourname.key.json: your key, locked with your password. Never upload or send it to anyone.
preview-.) -
Words + password = your key. With both you can make your key again on any computer (menu 4). If you lose either one, your key is gone; then Farmswap and the other holders replace it. A copy of the .key.json file on a USB stick is optional: it is useless without your password.
2. Sign a request
-
On the signing site, open the request and download both files:
request.jsonandkeys.json. -
In the program choose 2 Sign a request and pick
request.json(the program findskeys.jsonnext to it). - Read the screen: which network the request says it is for (MAINNET or PREVIEW), the contract address (compare its last 6 characters with what the organiser told you), and every change. A preview key refuses mainnet requests and a mainnet key refuses preview requests.
-
Compare the 12 large characters of the request number (shown in three groups of four, like
3fa2 91bc 07d1) with the signing site. If they differ, stop and call Farmswap. - Type YES to sign. A mainnet request also needs MAINNET, a change of the key holders COMMITTEE, a freeze FREEZE, anything unusual UNUSUAL. Then your password. After three wrong passwords it stops.
-
The program shows one line starting with
FSMSIG1.and copies it. Paste that line on the signing site, or upload the signature file it names (in your Farmswap Signing folder). The signature holds no secret.
If the program says the request was changed, the key list does not belong to it, your key is not one of its keys, or your key file does not fit together: do not sign; download the files again or call Farmswap.
3. Restore your key (new computer, lost file)
Choose 4 Restore my key from my recovery words. First type MAINNET or PREVIEW, as when you made the key. Then type or paste the 24 words (numbers, commas and line breaks are fine), then your password. Check that the fingerprint shown is exactly the one on the signing site; if it differs, a word, the password or the MAINNET / PREVIEW answer is wrong. (If your .pub.json file is in the folder, the program compares for you.)
Never
-
Never upload or send your
.key.jsonfile, your words or your password. Farmswap and the signing site never ask for them. - Never type your words or password into a website, e-mail or chat.
- Never sign because someone is in a hurry. A real request can wait a day.
- Never sign a request you do not understand: call Farmswap.
- Never show the 24 words while sharing your screen or recording it.
Help for support
The first screen shows the version, the "Program code" and a "Program check" code: read them out if you call for help.
For the operator
- msig tool bundle (for the operator)farmswap-msig.tar.gz, 4.6 MB, sha256
afbacd98b55bbe6d95cddd06bc95ca547ae1f11f5dc3cd373d96021a2bf4547f