lnd/INSTALL.md at master · lightningnetwork/lnd · GitHub

Tested, step-by-step tutorial to run a 21 Bitcoin Computer as a virtual machine

Many thanks to ButtcoinEE and ecafyelims for initial pointers, but if I understood correctly, both users said they hadn't actually tried it themselves. So here comes a tutorial based on something I actually tried. Best of all: You don't even need a Raspberry Pi! We'll run it as a virtual machine.
The first step is to get a Debian 8 (Jessie) installation up and running. You might want to install that inside a VMWare/Virtualbox machine. I'll be using Vagrant here ( https://www.vagrantup.com/ ) which makes it easy to manage virtual machines like that and already has a Debian 8 image in the catalog. So get Vagrant for your platform and then do something like this:
vagrant init ARTACK/debian-jessie vagrant up 
You should now be able to SSH into the machine:
vagrant ssh 
Now that we have a Debian up and running, let's first get some packages we'll need later:
sudo su # become root apt-get update apt-get upgrade apt-get install apt-transport-https git cython3 python3-setuptools 
Add the 21 Debian repository:
echo "deb https://apt.21.co stable main" > /etc/apt/sources.list.d/twentyone.list apt-get update 
It'll complain about a missing GPG key, but you can just ignore that.
We should be able to do 'apt-get install two1' now, but it complains about a missing package 'python3-sha256'. The reason for that is probably, that we are doing this on a x86 architecture, where the packages are slightly different than the Raspberry Pi's ARM architecture. So we'll just manually install the package and have it ignore the dependency errors:
aptitude download two1 dpkg -i two1_1.0.0-1_all.deb 
Now let it try to fetch as many of the dependencies as possible:
apt-get -f install 
And try to install again (had to do this again, not sure why):
dpkg -i two1_1.0.0-1_all.deb 
The 21 binary should now be available:
which 21 # => /usbin/21 
Before we can run it, we'll need that missing python-256 package. We can install it manually from https://github.com/cloudtools/sha256 :
git clone https://github.com/cloudtools/sha256.git cd sha256 python3 setup.py sdist python3 setup.py install 
Now try to get a status report via the 21 tool:
21 status 
If everything worked out, you should see something like:
You do not have a Bitcoin wallet configured. Let's create one. Press any key ... 
and will also be asked to pick a username for a 21.co account.
All 21 Bitcoin computers are networked together into a VPN using the tool ZeroTier ( https://www.zerotier.com ). Let's also set that up:
wget https://download.zerotier.com/dist/zerotier-one_1.1.0_amd64.deb dpkg -i zerotier-one_1.1.0_amd64.deb 
We'll have to extract the credentials for the specific network they use from 21's zerotier package:
mkdir credentials cd credentials wget https://apt.21.co/pool/z/ze/zerotier-one_1.1.0-1_armhf.deb ar x zerotier-one_1.1.0-1_armhf.deb tar xf data.tar.xz cp valib/zerotier-one/updates.d/ZeroTierOneInstaller-linux-armv6l-1_1_0 /valib/zerotier-one/updates.d/ 
Before we join the network, we need to lock down our machine. That's actually a bit tricky, as these Vagrant images aren't really designed with security in mind, but rather only to be used for local testing. I think it should be enough to do:
passwd vagrant rm /home/vagrant/.ssh/authorized_keys 
Note that you won't be able to use 'vagrant ssh' any longer afterwards, as we just deleted the standard Vagrant key-based login. You'll have to use 'ssh [email protected]' instead. Now we are ready to join the network:
wget https://gist.githubusercontent.com/balajis/6d495bb40fb157a58677/raw/21-join.py python3 21-join.py python3 21-join.py # might have to try this twice as well ifconfig zt0 # will show your new IP within the VPN 
The 21 tools have a concept of both an on-chain balance and an off-chain balance - the latter being managed by 21's server. You can deposit to your on-chain balance, but currently the only way to increase the off-chain balance is by mining or by receiving payments from others. Without the mining chip it's therefore a bit tricky to increase that off-chain balance. I hear that a feature request is being considered, to allow moving funds from on-chain to off-chain.
That's all! If you want to give it a shot, you should probably move fast, as 21 has some DRM in the works, as per this comment: https://www.reddit.com/Bitcoin/comments/3tnjz7/tutorial_turn_your_35_raspberry_pi_into_a_21/cx7tih3 .
This was brought to you by https://coinado.io/ - cloud torrenting for command line fans. Check us out - we are also big on micropayments! ;-)
submitted by coinadoio to Bitcoin [link] [comments]

Bitcoin will succeed because it fills a need – and over time will clear the obstacles thrown at it. Those that fear it, don’t understand it. Bitcoin is better than the Dollar. Bitcoin is better than your credit card and your bank account. But Bitcoin is a baby – a very small baby. It’s in its infancy, just like the Internet was before ... GUI build (bitcoin-qt): bitcoin-qt-0.10.1.armv7l.tar.gz. diamond wallet. Diamond Wallet, v armv7l Diamond Wallet at GitHub armv7l fork at GitHub. The current official source will build the Qt and headless binaries with no changes, as my original contributions have been merged. For the Qt binaries (armv6l or armv7l) After grabbing the sources and dependencies, the following command will ... Das Kameramodul des Raspberry Pi funktioniert gut und liefert gar nicht mal so schlechte Bilder für so einen Winzling. Ich bin zwar noch nicht fertig mit meinen Spielereien (Bildervergleich mit Smartphone, Table, DSLR), wunderte mich aber, ob das Kameramodul auch mit motion funktioniert.. motion ist eine Open-Source-Software, die unter anderem Bewegung erkennen kann. I have a Raspberry Pi 2 running Raspbian My understating is that I should be able to run the ARM 32 bits compilation on it. I follow those steps but at the end it will throw an Illegal Instruction ... Bitcoin is a distributed, worldwide, decentralized digital money. Bitcoins are issued and managed without any central authority whatsoever: there is no government, company, or bank in charge of Bitcoin. You might be interested in Bitcoin if you like cryptography, distributed peer-to-peer systems, or economics. A large percentage of Bitcoin enthusiasts are libertarians, though people of all ...

[index] [13383] [45285] [24005] [46991] [23402] [26267] [5044] [44659] [22729] [14424]