add ckbunker setup

This commit is contained in:
oms
2020-03-04 16:44:04 +00:00
parent b044dd6eea
commit f59ec572e3
4 changed files with 77 additions and 0 deletions

View File

@@ -3,6 +3,12 @@
Start at <https://github.com/rootzoll/raspiblitz>
* #### [CoinKite Bunker on the RaspiBlitz](ckbunker_on_blitz.md)
<p align="left">
<img width="400" src="/images/ckbunker.starthsm.jpg">
</p>
* #### [Connect JoinMarket running on a Linux desktop to a remote node](joinmarket/joinmarket_desktop_to_blitz.md)
In order to use the JoinMarketQT GUI (and other scripts) it needs to connect to a Bitcoin Core node. A pruned node with the wallet enabled will do and txindex is not required.

71
ckbunker_on_blitz.md Normal file
View File

@@ -0,0 +1,71 @@
# CoinKite Bunker on the RaspiBlitz
https://ckbunker.com/
<p align="left">
<img width="400" src="/images/ckbunker.starthsm.jpg">
</p>
## Installation on the RaspiBlitz
Tested on v1.4
More info: https://ckbunker.com/install.html
* Run in the RaspiBlitz terminal:
```
# dependencies
sudo apt install -y virtualenv
sudo apt -y python-dev libusb-1.0-0-dev libudev-dev
# open firewall to LAN (edit to the correct subnet)
sudo ufw allow from 192.168.3.0/24 to any port 9823 comment "ckbunker"
# add the udev rules
cd /etc/udev/rules.d/
sudo wget https://raw.githubusercontent.com/Coldcard/ckcc-protocol/master/51-coinkite.rules
sudo udevadm control --reload-rules && sudo udevadm trigger
# change to bitcoin user - required to access the Tor auth_cookie
sudo su - bitcoin
# install ckbunker
git clone --recursive https://github.com/Coldcard/ckbunker.git
cd ckbunker
virtualenv -p python3 ENV
source ENV/bin/activate
pip install -r requirements.txt
pip install --editable .
```
## Setup ckbunker
* Continue after the installation with the `bitcoin` user or run:
```
sudo su - bitcoin
cd ckbunker
source ENV/bin/activate
```
* start the ckbunker setup at the prompt `(ENV) bitcoin@raspberrypi:~/ckbunker $`:
`$ ckbunker setup`
Output:
```
[04/03/2020-16:17:27] Web server at: http://localhost:9823/setup
[04/03/2020-16:17:27] Connecting to Coldcard.
[04/03/2020-16:17:27] Tord version: 0.4.2.5
[04/03/2020-16:17:27] Connected to Coldcard xxxxxxxx
```
* Open the address in a desktop browser on the same LAN (fill in the RASPIBLITZ_IP):
`http://RASPIBLITZ_IP:9823/setup`
* Follow https://ckbunker.com/setup.html
## Have fun and share what you made
https://ckbunker.com/examples.html
<p align="left">
<img width="400" src="/images/ckbunker.hsmmode.jpg">
</p>

BIN
images/ckbunker.hsmmode.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 MiB

BIN
images/ckbunker.starthsm.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 MiB