Welcome to an extensive guide on programming Bitcoin with Javascript! In this guide we will explain how to create various types of Bitcoin transactions using the BitcoinJS library.…
Stéphane Roche
Donate with Bitcoin | 3CmJsUcx6txveq32kVqG92pczc1suLh6BD
Timelock Transactions
Absolute TimelocknLockTimePart of the original Bitcoin implementation, nLockTime is a field that specifies the earliest time a transaction may be added to a valid block. A later Bitcoin soft fork allowed nLockTime to alternatively specify the lowest block height a transaction may be added to a valid block.Although every…
Multi-signature Transactions
Bitcoin Script Puzzles
Bitcoin scripts can be puzzles of any sort and they don't actually have to depend on the knowledge of a secret key. Complex scripts are replaced by shorter fingerprints in the transaction output, which allows for smaller transaction and less fees.Scripts can be hashed and encoded as a bitcoin…
Embedding Data with OP_RETURN
To follow along this tutorial and enter the commands step-by-step Type node in a terminal after cd into ./code for a Javascript prompt Open the Bitcoin Core GUI console or use bitcoin-cli for the Bitcoin Core commands Use bx aka Libbitcoin-explorer as a handy complement Let's store for eternity some…