mirror of
https://github.com/openoms/bitcoin-tutorials.git
synced 2025-12-19 21:04:20 +01:00
73 lines
2.0 KiB
Markdown
73 lines
2.0 KiB
Markdown
# 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 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
|
|
# reset to the tested release: https://github.com/Coldcard/ckbunker/releases
|
|
git reset --hard v0.9
|
|
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>
|