Skip to content

Code exercises and demos complementing lecture materials.

License

Notifications You must be signed in to change notification settings

teachbitcoin/code-demos

Repository files navigation

Teach Bitcoin with Libbitcoin and Jupyter Notebook.

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

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

About

Code exercises and demos complementing lecture materials.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published