This repository was archived by the owner on May 17, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommand_examples.txt
More file actions
51 lines (37 loc) · 1.7 KB
/
command_examples.txt
File metadata and controls
51 lines (37 loc) · 1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
docker build --no-cache -t netmech/dragonsalad:0.1.1 --build-arg BRANCH=main .
docker build --no-cache -t netmech/dragonsalad:0.2.0 --build-arg BRANCH=main --build-arg TAG=tags/1.2.0 .
docker tag netmech/dragonsalad:0.2.1 netmech/dragonsalad:latest
docker push netmech/dragonsalad:0.2.1
docker push netmech/dragonsalad:latest
docker run -p 8444:8444 -p 9090:9090 -v /btrfs/btrvol0/chia/swar/config.yaml:/swar/config.yaml \
-v /btrfs/btrvol0/chia/chia_home:/root/.chia \
-v /btrfs/btrvol0/chia/plots/farmer_alex:/plots \
-v /btrfs/btrvol1:/btrfs/btrvol1 \
-v /btrfs/btrvol2:/btrfs/btrvol2 \
-v /btrfs/btrvol3:/btrfs/btrvol3 \
-v /btrfs/btrvol4:/btrfs/btrvol4 \
-v /btrfs/btrvol5:/btrfs/btrvol5 \
-v /btrfs/btrvol6:/btrfs/btrvol6 \
-v /btrfs/btrvol7:/btrfs/btrvol7 \
-v /btrfs/btrvol8:/btrfs/btrvol8 \
-e TZ="America/New_York" -e keys="/root/.chia/keys.txt" --name dragonsalad -d netmech/dragonsalad:latest
docker exec -it dragonsalad venv/bin/chia configure -upnp false
(requires container restart)
docker exec -it dragonsalad venv/bin/chia wallet show
docker exec -it dragonsalad venv/bin/chia keys show --show-mnemonic-seed
docker exec -it dragonsalad venv/bin/chia show -s -c
docker exec -it dragonsalad venv/bin/chia wallet get_address
Pool Setup:
Chia wallet get_address
Get chia from faucet (https://faucet.chia.net/request)
chia plotnft create -s local
(confirm)
To Check status:
chia wallet get_transaction -f <sig> -tx <transition ID>
Running Swar:
(configure /swar/config.yaml on host system - mounted via volume in above docker run command)
docker exec -it dragonsalad /bin/bash
. ./venv/bin/activate
cd /swar
python manager.py start
python manager.py status