Giter Site home page Giter Site logo

sunyotech / bitcoin-programming-with-bitcoinjs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bitcoin-studio/bitcoin-programming-with-bitcoinjs

0.0 1.0 0.0 1.31 MB

Bitcoin Programming with BitcoinJS and Bitcoin Core CLI

License: GNU General Public License v3.0

JavaScript 89.69% Shell 10.31%

bitcoin-programming-with-bitcoinjs's Introduction

Programming Bitcoin with BitcoinJS and Bitcoin Core CLI

Welcome to the extensive guide to Bitcoin Javascript! In this guide we will explain how to create various types of Bitcoin transactions, using the BitcoinJS library.

We will use the Bitcoin Core command-line interface in Regtest mode for various common tasks, as well as some complementary libraries like bx aka Libbitcoin Explorer.

Throughout this guide, we want to provide you with sufficient explanation to each command to understand it without drowning in information. You can refer to additional resources to better understand the Bitcoin protocol. For example, check out our Bitcoin Studio presentations.

At the moment, Bitcoin Javascript tutorials are still very scarce, but we believe it doesn't have to be this way. The following guide intends to address this problem.

Requirements

Having prior theoretical knowledge of the Bitcoin protocol will surely help, but we provide comprehensive explanation throughout this guide so it fits for beginners.

Technical requirements

  • Node v10.x or superior
  • BitcoinJS v4.x or superior
  • Bitcoin Core v17.x or superior
  • Libbitcoin Explorer v3.4.x or superior

Copyright

Unless otherwise noted, the contents of this repository are Copyright ©2019 by Bitcoin Studio and are licensed GPL v3.

Disclaimer

  • This guide is not an official documentation
  • You must check the BitcoinJS repository for up-to-date code
  • Non-standard scripts are exposed for educational purposes
  • The author of this guide is not responsible for any loss of funds

Table of Contents

PART ONE: PREPARING THE WORK ENVIRONMENT

PART TWO: PAY TO PUBLIC KEY HASH

PART THREE: PAY TO SCRIPT HASH

MISCELLANEOUS


Please consider making a donation so that I can continue producing free educational content
Donate with Bitcoin | 3CmJsUcx6txveq32kVqG92pczc1suLh6BD

bitcoin-programming-with-bitcoinjs's People

Contributors

ddomas avatar

Watchers

 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.