Closed 0xB10C closed 4 years ago
@jnewbery noted that we don't need to clone the Optech fork of Bitcoin Core anymore. Removed that from the setup script in a force push.
I haven't been able to test, but have reviewed the code. Happy to merge this to the Colab branch without testing.
Just tried it briefly and it worked well
This is a pull request to the
Colab
branch, not themaster
branch.This PR adds support for Google Colab - a free Jupyter Notebook runner in the Google cloud - to the Taproot workshop notebooks. This provides users with a completely ready-to-code environment for the workshop in less than 30 seconds and thus greatly reduces the friction of the setup process. Code written by a user is automatically saved to the users Google account.
This functionality is split up into two commits.
bitcoind
binary (only use this binary on Colab!) and writing some config files.Reviewing this by trying out the notebooks as-is is not possible. The notebooks try to load the shell script added in the first commit. Reviewing modifying the shell script URL to point to my feature-branch (
https://raw.githubusercontent.com/0xB10C/taproot-workshop/2019-11-add-colab-setup/setup-colab-env.sh
). A sophisticated reviewer could try to complete other notebooks than the0.1-test-notebook.ipynb
, which has been tested in multiple PoCs before. For example2.0-taproot-introduction.ipynb
.Example notebooks on my feature branch:
0.1-test-notebook.ipynb
on Colab0.2-elliptic-curve-math.ipynb
on Colab2.0-taproot-introduction.ipynb
on Colabcloses #145