Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1.97 KB

README.md

File metadata and controls

30 lines (23 loc) · 1.97 KB

Teach Bitcoin with Libbitcoin and Jupyter Notebook.

The code examples and exercises are written in jupyter notebook pages.

To use bx with testnet, do this at the top of a Jupyter notebook:

export BX_CONFIG="../bx_config_files/bx_testnet.cfg"

It is highly recommended to install Vagrant, and then run the code repository directly from the VM instance managed by Vagrant. To do so, go to the code-demos repository, and vagrant up to automatically setup an Ubuntu instance with Libbitcoin BX and jupyter notebook. To access the VM instance, simply vagrant ssh afterwards. Please run jupyter notebook --ip 0.0.0.0 so the jupyter notebook server port can be forwarded to your host machine.

To run the cpp examples in this repository, you will need an alternative setup. To do so, please follow the steps below.

Libbitcoin-Explorer

  • Install with install.sh (Version3)
    • Linux
    • Mac
    • (The install script will install all required Libbitcoin C++ libraries used in this repository.)
  • Configure Libbitcoin-Explorer for testnet

Jupyter Notebook and Bash & C++ Kernels

It is recommended to install jupyter notebook from a mini-conda package installer.

  • Install the miniconda package-manager.
  • Install the Jupyter Notebook and the c++ cling kernel.
  • Install the Jupyter Bash Kernel.
  • Try to run the notebook pages in this repository