Plottair Support Portal
How do I find my Farmer and Pool public keys Print
Modified on: Sat, 12 Jun, 2021 at 9:22 AM
Linux and MacOS
To find your farmer and pool keys on Linux or MacOS you can use the following command.
If you use the GUI on MacOS try.
Windows
Finding your farmer and pool keys on Windows is a bit trickier.
- Open the Command Prompt by going to Start and typing cmd and pressing enter.
- Paste the following command in the line
Farmer public key chia как найти
![]()
Getting your Chia coin public farmer keys on Linux and MacOS
Plotting online is a fairly simple process but must be done to the letter or results can be disappointing and end in loss of time and money.
In this article we'll be focusing on extracting the public Farmer and Pool keys from you Chia Blockhain app. Once you're done with this process you can learn more about online plotting Here, (If you're running Windows check out this guide).
First of all, you should have Chia Blockhain installed, if you don't have it yet you can download from the official downloads section.
if you're using Linux, open terminal and run this command
/chia-blockchain/venv/bin/chia show keys
if you're using MacOS open terminal and run:
cd /Applications/Chia.app/Contents/Resources/app.asar.unpacked/daemon
./chia keys show
it will ask for root credentials and show your keys
now you can copy your keys to the Chia Plots Online web app and continue your plotting process. if you want to learn more about the online plotting process click here.
Дайбатнег для Chia подъехал!
-f [farmer pk]: Это ваш "Открытый ключ фермера". Используйте это, когда вы хотите создавать графики на других машинах, для которых вы не хотите предоставлять полный доступ к учетной записи chia. Чтобы найти открытый ключ Chia Farmer, используйте следующую команду: chia keys show
-p [pool pk]: Это ваш "Открытый ключ пула". Используйте это, когда вы хотите создавать графики на других машинах, для которых вы не хотите предоставлять полный доступ к учетной записи chia. Чтобы найти открытый ключ пула Chia, используйте следующую команду: chia keys show
PS Народ уже предлагает услуги плотинга вона на серверах. https://www.chiaplotting.services/
zelenui
Свой человек
- 15 Май 2021
- #82
iogurt13
Бывалый
- 15 Май 2021
- #83
хм. а вот на самом деле не знаю КАК именно на том конце идут расчёты соло майнинга. по логике надо складывать если один кошелёк
но вот как там реализовано у них, фиг знает.
Ну если просто прям одновременно-то да просто сразу несколько таких запускаешь (лишь-бы проца, памяти и сил у харда хватало =)
а по умному народ запускает с паузой старта следующего, ибо плотинг идёт в 4 фазы как я помню, и они по разному работают и нагружают систему (какая-то фаза чисто винт, какая-то проц и т.д.)
нашёл:
- Насколько я понял, в самом начале идёт проверка на наличие места, необходимого для создания плота. Это не относится к первой фазе, но делать отдельный пункт для неё я не хотел. Далее вычисляются таблицы с хэшами, 7 штук, — это самый долгий этап. Количество выделенных ядер работает только на этот этап, дальше нужно всего 1 ядро для процесса.
- Получившиеся таблицы сортируются, сканируются и, вообще, с ними происходят разного рода непотребства. В итоге генеряться .tmp файлы. По скорости эта фаза занимает второе место.
- Идёт компрессия .tmp файлов — по скорости эта фаза занимает третье место.
- В сжатый файлик прописываются финальные таблицы — это занимает меньше всего времени. Потом готовый файлик пишется на хддшники.
Хоть плоттинг и называется "параллельным", стартуется он не параллельно, а с задержкой. То есть, вы запустили 1 плот и следущий запускаете тогда, когда первый только закончил первую фазу. Третий — когда второй закончил первую фазу.
Kupr_Soft
Свой человек
- 15 Май 2021
- #84
боюсь что прям в батнике НЕ получится, ибо он прям по порядку выполняет команды и при запуске первого плоттинга пока его не отработает, дальше не пойдёт.
да и паузы там ставить непросто (команды нет удобной)
P.s. Разве что
>nul ping -n 11 127.0.0.1
(это даёт паузу в батнике на 10 секунд, если поставить не 11 а 61 то будет минута)
P.P.S. Блин полез поковыряться. в итоге есть один интересный вариантик:
@echo off
call "cmd /c start 1.bat"
>nul ping -n 11 127.0.0.1
call "cmd /c start 2.bat"
pause
Смысл такой:
@echo off — отключаем вывод на экран лишней инфы
call "cmd /c start 1.bat" — Вызываем первый батник (1.bat)
>nul ping -n 11 127.0.0.1 — делаем паузу перед тем как работать дальше (тут 10-11 секунд, ставим тут время которое занимает первая фаза плотинга, там как раз в секундах пишется)
call "cmd /c start 2.bat" — Вызываем второй батник (2.bat)
pause — ну это просто ожидать нажатия клавиши (что0бы увидеть как наш батник отработал)
Если хотим запускать батник в свёрнутом виде, то: call "cmd /c start /min 1.bat"
А вот у толкового парня в повершелле =)
YouMakc
Местный житель
- 15 Май 2021
- #85
gaunt
Бывалый
- 15 Май 2021
- #86
-f [farmer pk]: Это ваш "Открытый ключ фермера". Используйте это, когда вы хотите создавать графики на других машинах, для которых вы не хотите предоставлять полный доступ к учетной записи chia. Чтобы найти открытый ключ Chia Farmer, используйте следующую команду: chia keys show
-p [pool pk]: Это ваш "Открытый ключ пула". Используйте это, когда вы хотите создавать графики на других машинах, для которых вы не хотите предоставлять полный доступ к учетной записи chia. Чтобы найти открытый ключ пула Chia, используйте следующую команду: chia keys show
PS Народ уже предлагает услуги плотинга вона на серверах. https://www.chiaplotting.services/
iogurt13
Бывалый
- 15 Май 2021
- #87
боюсь что прям в батнике НЕ получится, ибо он прям по порядку выполняет команды и при запуске первого плоттинга пока его не отработает, дальше не пойдёт.
да и паузы там ставить непросто (команды нет удобной)
P.s. Разве что
>nul ping -n 11 127.0.0.1
(это даёт паузу в батнике на 10 секунд, если поставить не 11 а 61 то будет минута)
P.P.S. Блин полез поковыряться. в итоге есть один интересный вариантик:
@echo off
call "cmd /c start 1.bat"
>nul ping -n 11 127.0.0.1
call "cmd /c start 2.bat"
pause
Смысл такой:
@echo off — отключаем вывод на экран лишней инфы
call "cmd /c start 1.bat" — Вызываем первый батник (1.bat)
>nul ping -n 11 127.0.0.1 — делаем паузу перед тем как работать дальше (тут 10-11 секунд, ставим тут время которое занимает первая фаза плотинга, там как раз в секундах пишется)
call "cmd /c start 2.bat" — Вызываем второй батник (2.bat)
pause — ну это просто ожидать нажатия клавиши (что0бы увидеть как наш батник отработал)
Если хотим запускать батник в свёрнутом виде, то: call "cmd /c start /min 1.bat"
А вот у толкового парня в повершелле =)
Kupr_Soft
Свой человек
- 15 Май 2021
- #88
Telariust
Свой человек
- 15 Май 2021
- #89
call такое себе, там есть проблемы
я бы рекомендовал его аналог
>start chia create .
ковычки не нужны, вызов cmd не нужен, права админа не нужны
для 1Tb sata 3плота, в автозагрузку целиком или через ярлык
@echo off
SET FKEY=[changeme_fkey]
SET PKEY=[changeme_pkey]
timeout 300
cd /d %LOCALAPPDATA%\chia-blockchain\app-1.1.4\resources\app.asar.unpacked\daemon
del /F /Q E:\plots\*
del /F /Q E:\plots1\*
del /F /Q E:\plots2\*
del /F /Q E:\plots3\*
start chia.exe plots create -k 32 -n 99 -t E:\plots1 -2 E:\plots1 -d Z:\ -b 4000 -r 2 -f %FKEY% -p %PKEY%
timeout 3600
start chia.exe plots create -k 32 -n 99 -t E:\plots2 -2 E:\plots2 -d Z:\ -b 4000 -r 2 -f %FKEY% -p %PKEY%
timeout 15000
start chia.exe plots create -k 32 -n 99 -t E:\plots3 -2 E:\plots3 -d Z:\ -b 4000 -r 2 -f %FKEY% -p %PKEY%
pause
автозагрузка в
%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
кто предложит способ как отпарсить версию (\app-1.1.4\) в пути — тому спасибо, а то уже надоело через день править.
..и тут до меня доходит. это ж винда а значит можно к файлам неявно обращаться
cd /d %LOCALAPPDATA%\chia-blockchain\app-1.1.*\resources\app.asar.unpacked\daemon
вот он, наглядный пример пользы писать сообщения на форуме)
gaunt
Бывалый
- 16 Май 2021
- #90
Одни французы собрались.
Я без ССД ляпаю.
Кроме как поставить 64 корзины, мало что помогает.
Две-три очереди, каждая на свой винт.
Да райд0 , если одним потоком делать, чуть экономит.
Стандартных средств за глаза и за уши.
10 часов одним потоком рекорд.
21 час райд0 из 5 дисков двумя потоками. Хуже, оказалось. Думаю, из-за недостатка физической памяти.
Осталось испробовать штук 5 очередей, каждая на свой диск, если плашек найду, сделаю.
Как-то быстро залить не актуально.
Актуально выбрать операционку, чтобы поставить и не дергаться за обновления.
ltsc ставить или вин 8.1?
Так-то с чиа проще — плясок с драйверами нет.
Второй момент — после аварийной перезагрузки, как старт организовать?
Telariust
Свой человек
- 16 Май 2021
- #91
Kupr_Soft
Свой человек
- 16 Май 2021
- #92
Значится по итогу вот например батнЕг для проверки плотов на . находчивость =)
(если >0.7 то всё окей)
title Check Plots for Proofs
pushd %userprofile%\appdata\local\chia-blockchain\app-*\resources\app.asar.unpacked\daemon
chia.exe plots check
pause 0
gaunt
Бывалый
- 16 Май 2021
- #93
Класс, на самом деле. Сборки не ставлю, LTSC хватало. пока однажды нет фреймворк обновить пришлось. Как не плясал. поставил обычную про.
Красивое решение.
Ну а перезапуск чиа — решение есть?
Как бы там ни было, 1156, 1155 , не говоря уже 1150 платформы хватает.
Один комп с питанием 350-500вт, это десять — двенадцать хардов максимум. Да и не каждый корпус позволит.
Короче, огород городить с гарантийным питанием не собираюсь. Да и не только я, думаю.
Решение перезапуска майнинга есть?
Telariust
Свой человек
- 16 Май 2021
- #94
какбэ вопрос не раскрыт, поэтому ответ невозможен;
батник в автозагрузку выше уже предоставлен, значит его недостаточно;
закинуть ярлык gui чиа в автозагрузку тоже слишком очевидно;
отсюда неясность что же еще нужно
могу порекомендовать зайти в BIOS и параметрах питания поставить Включать при подачи питания.
(в каждом биосе зовется по своему, нет одного названия, ищите по образу и подобию)
тогда выключения света не будут помехой
gaunt
Бывалый
- 16 Май 2021
- #95
Kupr_Soft
Свой человек
- 16 Май 2021
- #96
gaunt
Бывалый
- 16 Май 2021
- #97
Telariust
Свой человек
- 16 Май 2021
- #98
вобщем это окно — выбор вашего кошелька (потому что вы можете создать несколько)
по сути на "Keys" вы выбираете (мненонику) которая раскрывается в (HDиерархический) кошель в "Wallets";
на ноду, на фармер, на плотер(харвестр) это не влияет, они активны и им похер на кошель;
тоесть нет реально проблемы чтобы прожать кошель после ребута;
(в siacoin такой же косяк был, но там вроде реально влияло, новые загрузки не могли вливаться)
вопрос — если создать 2й кошель (Create a new private key) и 3й и тд, то на какой будет фарминг идти?
ответ — на 1й
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
CLI Commands Reference
Clone this wiki locally
This page should provide additional high-level documentation and explanation beyond just chia -h .
This is not meant to be comprehensive, because often the -h (help) text is clear enough. We recommend fully investigating with the -h switch before looking elsewhere.
If want to know what a command’s options are, append -h at the end to see options and explanations.
- chia -h
- chia plots -h
- chia plots check -h
- chia plotters madmax -h
- chia start -h
As with the rest of this project, this doc is a work-in-progress. Feel free to browse the source code or the Chia Proof of Space Construction Document for more insight in the meantime.
Locate the chia binary executable
If you installed Chia.app in your /Applications directory, you can find the chia binary at /Applications/Chia.app/Contents/Resources/app.asar.unpacked/daemon/chia .
Do a sanity check in Terminal.app with
You can use that if you augment your PATH with
and then chia -h should work.
Windows
There is more than one chia.exe binary; the GUI is Chia.exe (two of these!) and the CLI is chia.exe . They are found in different places. Note the big C versus the little c.
The CLI one is the one referred to in this document, and for version 1.1.3 it can be found at
This has changed location to
Command: chia init
First, init checks for old versions of chia installed in your
If so, init migrates these old files to the new version:
- config (including old SSL files)
- db
- wallet
- Using config.yaml, updates wallet keys and ensures coinbase rewards go to the right wallet puzzlehash.
If no old version exists, init :
- Creates a default chia configuration
- Initializes a new SSL key and cert (for secure communication with the GUI)
start
Command: chia start
- Service node will start only the full node.
- Service farmer will start the farmer, harvester, a full node, and the wallet.
- positional arguments:
Flags
-r, —restart : Restart of running processes
plotters
In 1.2.11 the option to use different plotters was introduced. The plotters supported include Bladebit, madMAx, and the original reference chiapos plotter. Each plotter has slightly different hardware requirements and may need slightly different options specified. Learn more about the alternative plotters here: Alternative Plotters
madmax
For details on settings and usage of madMAx please refer to the original madMAx Github repository, or run the help command chia plotters madmax -h .
bladebit
chia plotters bladebit -h
plots
create
Command: chia plots create [add flags and parameters]
Flags
-k [size]: Define the size of the plot(s). For a list of k-sizes and creation times on various systems check out: k-Sizes
-n [number of plots]: The number of plots that will be made, in sequence. Once a plot is finished, it will be moved to the final location -d , before starting the next plot in the sequence.
-b [memory buffer size MiB]: Define memory/RAM usage. Default is 4608 (4.6 GiB). More RAM will marginally increase speed of plot creation. Please bear in mind that this is what is allocated to the plotting algorithm alone. Code, container, libraries etc. will require additional RAM from your system.
-f [farmer pk]: This is your «Farmer Public Key». Utilise this when you want to create plots on other machines for which you do not want to give full chia account access. To find your Chia Farmer Public Key use the following command: chia keys show
-p [pool pk]: This is your «Pool Public Key». Utilise this when you want to create plots on other machines for which you do not want to give full chia account access. To find your Chia Pool Public Key use the following command: chia keys show
-c [pool contract address]: This is your «Pool Contract Address». This replaces your Pool Public Key used previously in OG plots. This is used to point a plot to a plotNFT, which allows you to switch plots from local farming to pooling. To find your PlotNFT Contract Addres use the following command: chia plotnft show
-a [fingerprint]: This is the key Fingerprint used to select both the Farmer and Pool Public Keys to use. Utilize this when you want to select one key out of several in your keychain. To find your Chia Key Fingerprint use the following command: chia keys show
-t [tmp dir]: Define the temporary directory for plot creation. This is where Plotting Phase 1 (Forward Propagation) and Phase 2 (Backpropagation) both occur. The -t dir requires the largest working space: normally about 2.5 times the size of the final plot.
-2 [tmp dir 2]: Define a secondary temporary directory for plot creation. This is where Plotting Phase 3 (Compression) and Phase 4 (Checkpoints) occur. Depending on your OS, -2 might default to either -t or -d . Therefore, if either -t or -d are running low on space, it’s recommended to set -2 manually. The -2 dir requires an equal amount of working space as the final size of the plot.
-d [final dir]: Define the final location for plot(s). Of course, -d should have enough free space as the final size of the plot. This directory is automatically added to your
/.chia/VERSION/config/config.yaml file. You can use chia plots remove -d to remove a final directory from the configuration.
-r [number of threads]: 2 is usually optimal. Multithreading is only in phase 1 currently.
-u [number of buckets]: More buckets require less RAM but more random seeks to disk. With spinning disks you want less buckets and with NVMe more buckets. There is no significant benefit from using smaller buckets — just use 128.
-e [bitfield plotting]: Using the -e flag will disable the bitfield plotting algorithm, and revert back to the older b17 plotting style. After 1.0.4 it’s better to use bitfield for most cases (not using -e ). Before 1.0.4 (obsolete) using the -e flag (bitfield disabled) lowers memory requirement, but also writes about 12% more data during creation of the plot. For now, SSD temp space will likely plot faster with -e (bitfield back propagation disabled) and for slower spinning disks, i.e SATA 5400/7200 rpm, not using -e (bitfield enabled) is a better option.
-x [exclude final dir]: Skips adding [final dir] to harvester for farming.
Example Plotting Commands
Example below will create a k32 plot and use 4GB (note — not GiB) of memory.
chia plots create -k 32 -b 4000 -t /path/to/temporary/directory -d /path/to/final/directory
Example 2 below will create a k34 plot and use 8GB of memory, 2 threads and 64 buckets
chia plots create -k 34 -e -b 8000 -r 2 -u 64 -t /path/to/temporary/directory -d /path/to/final/directory
Example 3 below will create five k32 plots ( -n 5 ) one at a time using 4GB -b 4000 (note — not GiB) of memory and uses a secondary temp directory ( -2 /path/to/secondary/temp/directory ).
chia plots create -k 32 -b 4000 -n 5 -t /path/to/temporary/directory -2 /path/to/secondary/temp/directory -d /path/to/final/directory
Additional Plotting Notes
During plotting, Phase 1 (Forward Propagation) and Phase 3 (Compression) tend to take the most time. Therefore, to maximize plotting speed, -t and -2 should be on your fastest drives, and -d can be on a slow drive.
There are 4 major phases to plotting. Phase 1 of plotting can utilize multi-threading. Phases 2-3 do not. You can better optimize your plotting by using the -r flag in your command and setting it to greater than 2, e.g,. -r 2 . Above 4 threads there are diminishing returns. Many Chia users have determined it’s more efficient to plot in parallel, rather than series. You can do this by just having multiple plotting instances open but staggering when they start 30min or more.
It’s objectively faster to plot on SSD’s instead of HDD’s. However, SSD’s have significantly more limited lifespans, and early Chia testing has seemed to indicate that plotting on SSD’s wears them out pretty quickly. Therefore, many Chia users have decided it’s more «green» to plot in parallel on many HDD’s at once.
Plotting is designed to be as efficient as possible. However, to prevent grinding attacks, farmers should not be able to create a plot within the average block interval. That’s why the minimum k-size is k32 on mainnet.
plotnft
Using the CLI, you can perform the same operations as with the GUI. There is a new command, called chia plotnft . Type chia plotnft -h to see all the available sub-commands:
To create a Plot NFT, use chia plotnft create -u https://poolnamehere.com , entering the URL of the pool you want to use. To create a plot NFT in self-farming mode, do chia plotnft create -s local . To switch pools, you can use chia plotnft join , and to leave a pool (switch to self farming), use chia plotnft leave . The show command can be used to check your current points balance. CLI plotting with create_plots is the same as before, but the -p is replaced with -c , and the pool contract address from chia plotnft show should be used here.
check
Command: chia plots check -n [num checks] -l -g [substring]
First, this looks in all plot directories from your config.yaml. You can check those directories with chia plots show . This command will check whether plots are valid given the plot’s associated keys and your machine’s stored Chia keys, as well as test the plot with challenges to identify found plots vs. expected number of plots.
-g check only plots with directory or file name containing case-sensitive [substring]. If -g isn’t specified all plots in every plot directory in your config.yaml will be checked.
Examples for using -g
- Check plots within a long directory name like /mnt/chia/DriveA can use chia plots check -g DriveA
- Check only k33 plots can use chia plots check -g k33
- Check plots created on October 31, 2020 can use chia plots check -g 2020-10-31
-l allows you to find duplicate plots by ID. It checks all plot directories listed in config.yaml and lists out any plot filenames with the same filename ending; *-[64 char plot ID].plot . You should use -l -n 0 if you only want to check for duplicates.
-n represents the number of challenges given. If you don’t include an -n integer, the default is 30. For instance, if -n is 30, then 30 challenges will be given to each plot. The challenges count from 5 (minimum) to -n , and are not random.
Each plot will take each challenge and:
- Get the quality for the challenge (Is there a proof of space? You should expect 1 proof per challenge, but there may be 0 or more than 1.)
- Get the full proof(s) for the challenge if a proof was present
- Validate that the # of full proofs matches the # of expected quality proofs.
Finally, you’ll see a report the final true proofs vs. expected proofs.
Therefore, if -n is 20, you would expect 20 proofs, but your plot may have more or fewer.
Running the command with -n 10 or -n 20 is good for a very minor check, but won’t actually give you much information about if the plots are actually high-quality or not.
Consider using -n 30 to get a statistically better idea.
For more detail, you can read about the DiskProver commands in chiapos
What does the ratio of full proofs vs expected proofs mean?
- If the ratio is >1, your plot was relatively lucky for this run of challenges.
- If the ratio is <1, your plot was relatively unlucky.
- This shouldn’t really concern you unless your ratio is <0.70 # If so, do a more thorough chia plots check by increasing your -n
The plots check challenge is a static challenge. For example if you run a plots check 20 times, with 30 tries against the same file, it will produce the same result every time. So while you may see a plot ratio << 1 for a plot check with x number of tries, it does not mean that the plot itself is worthless. It just means that given these static challenges, the plot is producing however many proofs. As the number of tries ( -n ) increases, we would expect the ratio to not be << 1. Since Mainnet is live, and given that the blockchain has new challenges with every signage point — just because a plot is having a bad time with one specific challenge, does not mean it has the same results versus another challenge. «Number of plots» and «k-size» are much more influential factors at winning blocks than «proofs produced per challenge».
In theory, a plot with a ratio >> 1 would be more likely to win challenges on the blockchain. Likewise, a plot with a ratio << 1 would be less likely to win. However, in practice, this isn’t actually going to be noticeable. Therefore, don’t worry if your plot check ratios are less than 1, unless they’re significantly less than 1 for many -n .
upgrade
Command: chia db upgrade [add flags and parameters]
Flags
—input [PATH] : (optional) Specify a database input file. Must be a v1 database.
—output [PATH] : (optional) Specify a database output file. Can be any name, but must not already exist.
—no-update-config Don’t update the config file to point to your new database. When specifying a custom output file, the config will not be updated regardless.
Database upgrade notes
- This will upgrade your database from version 1 to version 2, which is around 45% smaller and slightly faster.
- The upgrade could take several hours to complete. Use at your own leisure.
- You do not need to stop your Chia node while performing the upgrade.
- The new database file will be written to the same folder as the original. The current size requirement (2nd quarter 2022) is around 55 GB. Note that the database is always growing, so the size requirement for the v2 database will have gone up by the time you are reading this — plan accordingly. After the version 2 file has been created, you can stop Chia and move/delete your version 1 file, which will free up enough space to move your version 2 file to the original folder. Finally, update the references in config.yaml to point to your version 2 file.
- After the upgrade has completed, run chia start farmer -r . This will restart your farmer, and begin using your new database. Note that it will have the same peak as version 1 at the time you initiated the upgrade. Your node will still need to run a short sync to fetch the remaining blocks that had gotten added while the upgrade was being performed.
- For more info, see our FAQ.
derive
Command: chia keys derive [OPTIONS] COMMAND [ARGS]
Flags
-f , —fingerprint [INTEGER] : The fingerprint of the key you want to use.
—mnemonic-seed-filename [TEXT] : The filename containing the mnemonic seed of the master key to derive from.
Notes on deriving keys
- This command will display or search for derived keys or wallet-addresses.
- This command requires either a fingerprint or a mnemonic seed file.
- The valid values for COMMAND are child-key , search , and wallet-address .
- See below for details and example commands.
child-key
Command: chia keys derive child-key [OPTIONS]
Flags
-t , —type [farmer|pool|wallet|local|backup|singleton|pool_auth] : Type of child key to derive.
-p , —derive-from-hd-path [TEXT] : Derive child keys rooted from a specific HD path. Indices ending in an ‘n’ indicate that non-observer derivation should used at that index.
Example HD path: m/12381n/8444n/2/-i , —index [INTEGER] : Index of the first child key to derive. (Index 0 is the first child key.)
-n , —count [INTEGER] : Number of child keys to derive, starting at index.
-d , —non-observer-derivation : Derive keys using non-observer derivation. [default: False]
-s , —show-private-keys : Display derived private keys. [default: False]
—show-hd-path : Show the HD path of the derived wallet addresses. [default: False]
Examples
Show the first singleton pubkey: chia keys derive -f <fingerprint> child-key -t singleton
Show a pair of public and private keys derived from a mixed observer/non-observer HD path using an imported key’s mnemonic seed: chia keys derive —mnemonic-seed-filename <(chia keys generate_and_print | sed -n 2p) child-key —derive-from-hd-path ‘m/12381n/8444n/2/’ —show-private-keys —show-hd-path
Generate a mnemonic seed and show the farmer pubkeys 10-14 derived from that seed: chia keys derive —mnemonic-seed-filename <(chia keys generate_and_print | sed -n 2p) child-key -i 10 -n 5 -t farmer
search
Command: chia keys derive search [OPTIONS] [SEARCH_TERMS].
Flags
-l , —limit [INTEGER] : Limit the number of derivations to search against. [default: 100]
-d , —non-observer-derivation : Search will be performed against keys derived using non-observer derivation. [default: False]
-P , —show-progress : Show search progress. [default: False]
-t , —search-type [public_key|private_key|address|all] : Limit the search to include just the specified types. [default: address, public_key]
-p , —derive-from-hd-path [TEXT] : Search for items derived from a specific HD path. Indices ending in an ‘n’ indicate that non-observer derivation should used at that index. Example HD path: m/12381n/8444n/2/
Examples
- Search for a wallet address: chia keys derive search -t address -l 100 <xch address>
wallet-address
Command: chia keys derive wallet-address [OPTIONS]
Flags
-i , —index [INTEGER] : Index of the first wallet address to derive. Index 0 is the first wallet address.
-n , —count [INTEGER] : Number of wallet addresses to derive, starting at index.
-x , —prefix [TEXT] : Address prefix (xch for mainnet, txch for testnet).
-d , —non-observer-derivation : Derive wallet addresses using non-observer derivation. [default: False]
—show-hd-path : Show the HD path of the derived wallet addresses. If non-observer-derivation is specified, path indices will have an ‘n’ suffix. [default: False]
Examples
Show first 10 wallet addresses:
chia keys derive -f <fingerprint> wallet-address -i 0 -n 10 —show-hd-path