21isenough / code-demos

Code exercises and demos complementing lecture materials.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Teach Bitcoin with Libbitcoin and Jupyter Notebook.

The code examples and exercises are written in jupyter notebook pages or native C++.

There are two types of jupyter notebook pages in this repository. Pages denoted with BX are command-line scripts which call the Libbitcoin-Explorer command-line utility and require a jupyter bash kernel to run. Pages denoted with cpp are written with Libbitcoin C++ libraries and require a jupyter C++ kernel to run.

Here are the required tools for the TeachBitcoin course.

Libbitcoin-Explorer

  • Install with install.sh (Version3)
    • Linux
    • Mac
    • (The install script will install all required Libbitcoin C++ libraries required for the course.)
  • 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

C++ tools

  • IDE of your choice.
  • Or, any text editor with GCC linter

About

Code exercises and demos complementing lecture materials.


Languages

Language:Jupyter Notebook 92.1%Language:C++ 7.6%Language:Shell 0.3%