Working with transactions
Working with transactions using bcoin and the MTX and TX objects.
Start ›Use individual modules from the bcoin library to build web applications.
Start ›Using the bcoin and bcash libraries, execute a swap of coins between two users on two chains. Create a Hash Time-Locked Contract to perform the swap securely.
Start ›Scripts are array-like objects with some helper functions. Learn the basics here.
Start ›This example creates a transaction with output containing a null data script with our data.
Start ›Working with and creating multi-signature transactions using built in bcoin utilities and the wallet api.
Start ›Throw a Multisig party for yourself and some friends using simple command line tools.
Start ›Follow along with the steps to build a transaction from scratch using built-in bcoin utilities. These steps are based on those outlined in the Bitcoin Wiki.
Start ›A list of all emitted events throughout the bcoin library. Which functions call them, what data they return, which objects catch and re-emit them, and which events are available over websocket connection.
Start ›Learn how SIGHASH flags work in Bitcoin by building out a custom crowdfunding transaction that lets anyone add their own inputs to a transaction with a fixed output.
Start ›Learn how to make and redeem a time locked transaction using Bitcoin scripts with bcoin. In this guide, we will have a function that creates a script that locks a UTXO for a predetermined amount of time as well as separately learn how to sign these types of special inputs.
Start ›The bcoin JavaScript library can be easily formatted to run in a web browser like Chrome. Using a proxy server, we can connect the web client to the actual live Bitcoin network.
Start ›Learn how to install bcoin on a brand-new Raspberry Pi Zero W, or other linux system. Create scripts to interact with bcoin in SPV mode and then output a fun, network status display and interface. In Part II, we'll add some external hardware to make your own stand-alone Bcoin Block Clock and Piggy Bank!
Start ›