Code Monkey home page Code Monkey logo

programmingbitcoin's Introduction

#Programming Bitcoin

###BY JIMMY SONG

#####O'Reilly Media, Inc.March 2019

LICENSE

Repository for the book to be published by O'Reilly.

This book will be licensed under CC-BY-NC-ND once the book is published.

##Setting Up

To get the most out of this book, you’ll want to create an environment where you can run the example code and do the exercises. Here are the steps required to set everything up:

###1. Install Python 3.5 or higher on your machine:

Windows: https://www.python.org/ftp/python/3.6.2/python-3.6.2-amd64.exe

macOS: https://www.python.org/ftp/python/3.6.2/python-3.6.2-macosx10.6.pkg

Linux #####See your distro docs (many Linux distributions, like Ubuntu, come with Python 3.5+ preinstalled)

###2. Install pip by downloading this script: https://bootstrap.pypa.io/get-pip.py.

###3. Run this script using Python 3:

$ python3 get-pip.py

###4. Install Git. The commands for downloading and installing it are at https://git-scm.com/downloads.

###5. Download the source code for this book:

$ git clone https://github.com/jimmysong/programmingbitcoin $ cd programmingbitcoin

###6. Install virtualenv:

$ pip install virtualenv

###7. Install the requirements:

Linux/macOS

$ virtualenv -p python3 .venv $ . .venv/bin/activate (.venv) $ pip install -r requirements.txt

Windows

C:\programmingbitcoin> virtualenv -p C:\PathToYourPythonInstallation\Python.exe .venv C:\programmingbitcoin> .venv\Scripts\activate.bat C:\programmingbitcoin> pip install -r requirements.txt ###8. Run Jupyter Notebook:

(.venv) $ jupyter notebook [I 11:13:23.061 NotebookApp] Serving notebooks from local directory: /home/jimmy/programmingbitcoin [I 11:13:23.061 NotebookApp] The Jupyter Notebook is running at: [I 11:13:23.061 NotebookApp] http://localhost:8888/?token= f849627e4d9d07d2158e3fcde93590eff4a9a7a01f65a8e7 [I 11:13:23.061 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [C 11:13:23.065 NotebookApp] Copy/paste this URL into your browser when you connect for the first time, to login with a token: http://localhost:8888/?token=f849627e4d9d07d2158e3fcde93590eff4a9a7a01f65a8e7

You should have a browser open up automatically, as shown in Figure P-1.

MORE INFO AT: https://learning.oreilly.com/library/view/programming-bitcoin/9781492031482/preface01.html#setting_up

programmingbitcoin's People

Contributors

indexpro avatar kristenorm avatar jimmysong avatar dbaker2020 avatar nadamsoreilly avatar zaremba avatar katherinetozer avatar hackermatthew avatar dangitoreilly avatar zer0kg avatar joelklabo avatar chanhosuh avatar atafork avatar icostan avatar pedromvpg avatar randymcmillan avatar michelecronin avatar biladew avatar sklise 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.