printenv | grep $XDG_RUNTIME_DIRIf $XDG_RUNTIME_DIR exists, then KBFS is mounted at $XDG_RUNTIME_DIR/keybase/kbfs
Otherwise is mounted at /home/user/.config/keybase/kbfs
| import { map, compose, dropLast, last, length } from 'ramda' | |
| import { crypto, HDNode } from 'bitcoinjs-lib' | |
| import * as BIP32 from 'bip32' | |
| import BIP39 from 'bip39' | |
| import Transport from "@ledgerhq/hw-transport-node-hid" | |
| import AppBtc from "@ledgerhq/hw-app-btc" | |
| import * as bippath from 'bip32-path' | |
| const mnemonic = 'deer scout bonus forward rubber rate embrace street tragic know wife tongue photo stool rival century cruise inspire cinnamon before sudden include strong flip' |
| captainVersion: 1 | |
| instructions: | |
| start: BTCPay Server is a self-hosted, open-source cryptocurrency payment processor. It's secure, private, censorship-resistant and free. https://btcpayserver.org/ | |
| end: | | |
| The bitcoin application is ready. | |
| If you selected the testnet network, you can speed up the blockchain sync as follow | |
| 1. scale down to 0 bitcoind instance | |
| 2. download a blockchain snapshot here https://keybase.pub/coinfused/ | |
| 3. run ssh [email protected] "cd /var/lib/docker/volumes/captain--bitcoin-testnet-datadir/_data/testnet3 && tar -xzv" < /your/local/path/testnet.tar.gz | |
| 4. scale up the bitcoind instance to 1 or more |
| { | |
| "captainVersion": "2", | |
| "instructions": { | |
| "start": "start", | |
| "end": "end" | |
| }, | |
| "variables": [], | |
| "dockerCompose": { | |
| "version": "3", | |
| "services": { |
| sudo ec/build/samus/util/ectool fanduty 0 |
| sudo /etc/init.d/docker status | |
| #Create new docker group (in case the previous one is not exist) | |
| sudo groupadd docker | |
| #groupadd: group ‘docker’ already exists | |
| #add your current logged in user t the docker group | |
| sudo usermod -aG docker $USER | |
| #Restart docker daemon / service |
| sudo apt-get update && sudo apt-get install -y apt-transport-https | |
| wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add - | |
| wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add - | |
| sudo add-apt-repository "deb http://download.virtualbox.org/virtualbox/debian bionic contrib" | |
| sudo apt update | |
| sudo apt install virtualbox-6.0 |
| function isEmpty(value){ | |
| return value === undefined || | |
| value === null || | |
| (typeof value === "object" && Object.keys(value).length === 0) || | |
| (typeof value === "string" && value.trim().length === 0) | |
| } | |
| module.exports = isEmpty; |
| ### Keybase proof | |
| I hereby claim: | |
| * I am coinfused on github. | |
| * I am coinfused (https://keybase.io/coinfused) on keybase. | |
| * I have a public key ASAoLXqKwlmqweyi_UDxcKY6rcies_QZ89jC1ow2noZFDQo | |
| To claim this, I am signing this object: |