mirror of
https://github.com/openoms/bitcoin-tutorials.git
synced 2025-12-24 07:04:18 +01:00
more
This commit is contained in:
25
BUIDL_bootcamp_VM.md
Normal file
25
BUIDL_bootcamp_VM.md
Normal file
@@ -0,0 +1,25 @@
|
||||
Ubuntu18.04.01LTS image
|
||||
unzip the .vdi to use with Virtualbox
|
||||
|
||||
username: buidl
|
||||
password: bootcamp
|
||||
|
||||
Installed and working:
|
||||
git
|
||||
cloned github.com/justinmoon/digital-cash/
|
||||
pip
|
||||
venv
|
||||
digital-cash/requirements.txt
|
||||
docker
|
||||
docker-compose
|
||||
VisualStudio Code
|
||||
|
||||
|
||||
To convert to a RAW image:
|
||||
in Windows with VirtualBox installed, run this in Command Prompt (cmd.exe) or PowerShell:
|
||||
`"C:\Program_Files\Oracle\VirtualBox\VBoxManage.exe" clonehd --format RAW Ubuntu18.04.01LTS.vdi RAW_Image_to_disk.img`
|
||||
in Linux bash:
|
||||
`VBoxManage clonehd --format RAW Ubuntu18.04.01LTS.vdi RAW_Image_to_disk.img`
|
||||
|
||||
|
||||
The .img can be written to HDD/SSD/USBDrive with http://www.hddguru.com/software/HDD-Raw-Copy-Tool/.
|
||||
64
BUIDL_bootcamp_ubuntu_install_commands.md
Normal file
64
BUIDL_bootcamp_ubuntu_install_commands.md
Normal file
@@ -0,0 +1,64 @@
|
||||
sudo apt-get update
|
||||
sudo apt-get upgrade
|
||||
|
||||
sudo apt install git-all
|
||||
|
||||
git clone https://github.com/superquest/digital-cash.git
|
||||
cd digital-cash
|
||||
|
||||
apt-get install python3-venv
|
||||
|
||||
python3 -m venv venv
|
||||
source venv/bin/activate
|
||||
python3 -m pip install -r requirements.txt
|
||||
|
||||
# jupyter notebook
|
||||
|
||||
# install docker as described here: https://docs.docker.com/install/linux/docker-ce/ubuntu/
|
||||
|
||||
sudo apt-get install \
|
||||
apt-transport-https \
|
||||
ca-certificates \
|
||||
curl \
|
||||
software-properties-common
|
||||
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
|
||||
|
||||
# verify fingerprint `9DC8 5822 9FC7 DD38 854A E2D8 8D81 803C 0EBF CD88`
|
||||
|
||||
sudo apt-key fingerprint 0EBFCD88
|
||||
|
||||
sudo add-apt-repository \
|
||||
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
|
||||
$(lsb_release -cs) \
|
||||
stable"
|
||||
sudo apt-get update
|
||||
sudo apt-get install docker-ce
|
||||
|
||||
# to test docker install:
|
||||
# sudo docker run hello-world
|
||||
|
||||
sudo systemctl enable docker
|
||||
|
||||
# to check if Docker is running:
|
||||
# systemctl status docker.service
|
||||
|
||||
sudo groupadd docker
|
||||
sudo usermod -aG docker $USER
|
||||
|
||||
# install docker compose as in here https://docs.docker.com/compose/install/
|
||||
|
||||
sudo curl -L "https://github.com/docker/compose/releases/download/1.23.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
|
||||
sudo chmod +x /usr/local/bin/docker-compose
|
||||
|
||||
# to test the docker-compose installation:
|
||||
# docker-compose --version
|
||||
|
||||
# RESTART:
|
||||
# sudo shutdown now -r
|
||||
|
||||
cd digital-cash/
|
||||
source venv/bin/activate
|
||||
cd experiments/
|
||||
docker-compose up --build
|
||||
|
||||
# more troubleshooting: https://docs.docker.com/install/linux/linux-postinstall/
|
||||
73
Electrum_ColdCard_EPS.md
Normal file
73
Electrum_ColdCard_EPS.md
Normal file
@@ -0,0 +1,73 @@
|
||||
sudo apt-get update
|
||||
sudo apt-get upgrade
|
||||
|
||||
sudo apt install git-all
|
||||
|
||||
# download, verify, install Electrum
|
||||
wget https://download.electrum.org/3.0.3/Electrum-3.0.3.tar.gz https://download.electrum.org/3.0.3/Electrum-3.0.3.tar.gz.asc
|
||||
|
||||
Verify Electrum's downloaded source code
|
||||
At this stage, we are ready to verify Electrum's source code. The source code is signed by Thomas Voegtlin (https://electrum.org). Let's import a relevant key signature:
|
||||
|
||||
$ gpg --keyserver pool.sks-keyservers.net --recv-keys 2BD5824B7F9470E6
|
||||
gpg: key 2BD5824B7F9470E6: public key "Thomas Voegtlin (https://electrum.org) " imported
|
||||
gpg: no ultimately trusted keys found
|
||||
gpg: Total number processed: 1
|
||||
gpg: imported: 1
|
||||
|
||||
Confirm a correct key import as per LINE 2. Once the key has been imported it is time to perform the verification:
|
||||
"""
|
||||
$ gpg --verify Electrum-3.0.3.tar.gz.asc Electrum-3.0.3.tar.gz
|
||||
gpg: Signature made Tue 12 Dec 2017 17:06:09 AEDT
|
||||
gpg: using RSA key 2BD5824B7F9470E6
|
||||
gpg: Good signature from "Thomas Voegtlin (https://electrum.org) " [unknown]
|
||||
gpg: aka "ThomasV " [unknown]
|
||||
gpg: aka "Thomas Voegtlin " [unknown]
|
||||
gpg: WARNING: This key is not certified with a trusted signature!
|
||||
gpg: There is no indication that the signature belongs to the owner.
|
||||
Primary key fingerprint: 6694 D8DE 7BE8 EE56 31BE D950 2BD5 824B 7F94 70E6
|
||||
"""
|
||||
|
||||
Note gpg: Good signature on Line 4. All seems to be in order!
|
||||
Install Electrum
|
||||
To install Electrum bitcoin wallet, we first need to preform an installation of all prerequisites:
|
||||
|
||||
$ sudo apt-get install python3-setuptools python3-pyqt5 python3-pip
|
||||
|
||||
And finally, install Electrum bitcoin wallet using the bellow command:
|
||||
|
||||
$ sudo pip3 install Electrum-3.0.3.tar.gz
|
||||
|
||||
Start Electrum bitcoin Wallet
|
||||
Electrum bitcoin wallet is now installed. You can start it from your start menu by clicking on the Electrum wallet icon or by executing electrum command from your terminal:
|
||||
|
||||
$ electrum
|
||||
|
||||
Navigate to the following page to learn how to create a Bitcoin offline/paper wallet.
|
||||
|
||||
How
|
||||
ARE YOU LOOKING FOR A LINUX JOB?
|
||||
Submit your RESUME or create a JOB ALERT on LinuxCareers.com job portal.
|
||||
DO YOU NEED ADDITIONAL HELP?
|
||||
Get extra help by visiting our LINUX FORUM or simply use comments below.
|
||||
You may also be interested in:
|
||||
|
||||
# cd Electrum...
|
||||
apt-get install python3-venv
|
||||
|
||||
python3 -m venv venv
|
||||
source venv/bin/activate
|
||||
|
||||
|
||||
$ sudo apt-get install python-dev libusb-1.0-0-dev libudev-dev
|
||||
$ sudo pip install --upgrade setuptools
|
||||
$ sudo pip install hidapi
|
||||
|
||||
pip install pyqt5
|
||||
|
||||
pip install "ckcc-protocol[cli]"
|
||||
|
||||
https://github.com/Stadicus/guides/blob/master/raspibolt/raspibolt_64_electrum.md
|
||||
|
||||
python3 run_electrum --oneserver --server 192.168.1.244:50002:s
|
||||
|
||||
Reference in New Issue
Block a user