madMAx43v3r / chia-gigahorse

220 stars 32 forks source link

Docker mappings #274

Open darkenbula opened 4 months ago

darkenbula commented 4 months ago

Does the madmax docker support passing a key file?

I see the official chia docker supports creating the 24 key in a key file for adding automatically

https://www.reddit.com/r/chia/comments/prc2z5/official_chia_docker_full_node/

madMAx43v3r commented 3 months ago

@Ac3sRwild

Ac3sRwild commented 3 months ago

Not currently supported but I can work on getting this added in

efnats commented 2 months ago

Passing the keyfile does work: For example adding the line following line

keys: /root/.chia/mnemonic.txt

will pass the $keys variable.

root@farmer:/chia-gigahorse-farmer# ./chia.bin keys add -f "${keys}"
Enter the label you want to assign to this key (Press Enter to skip): 

will work manually but may not work in a startup script due to the terminal expecting an input as stated here: https://github.com/Chia-Network/chia-docker/issues/16#issuecomment-1304464274

Does anyone know how this is solved in the current official chia docker images?