GithubHelp home page GithubHelp logo

lightningbot's Introduction

lightningbot

Basic set up

make sure you install the Linux system into Raspberry Pi or other portable hardware. make sure you connect a drive at least 500 GB (1 TB recommended) to the Raspberry Pi

git clone https://github.com/quantumcatwang/lightningbot.git
sudo ./build.sh

Wait until the block complete syncing.

Use the lnd API for creating wallet. Input the RPC username, RPC password, write down your private seed, and the latest version of bitcoin core & lnd is recommended.

For API of lnd: https://api.lightning.community/

Switch to mainnet

Disclaimer

This script may contain errors that may result in loss of user's bitcoin.
Users should read the script and verify it.
It would be good to run testnet and check the command line by line.
The integration of bitcoin core and lnd should be verify by users.
REMENBER: Bitcoin is still experimental.
Lightning network is more experimental.

It is recommended that sync the full block at first at your local PC. If you run the testnet at first, when switching to mainnet, run: (If you run the mainnet directly, skip it, however, it is highly recommended to test on testnet)

sudo ./mainnet.sh

After restart, run:

scp -r {block_path}\blocks username@raspberry_ip:/mnt/hdd/bitcoin/
scp -r {block_path}\chainstate username@raspberry_ip:/mnt/hdd/bitcoin/

or use WinScp.

lightningbot's People

Contributors

fermicat avatar

Stargazers

 avatar Xavier Cheng avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.