| .. | ||
| Examples | ||
| Beginner's-Guide.md | ||
| CLI.md | ||
| Configuration.md | ||
| Design.md | ||
| README.md | ||
| Wallet-System.md | ||
Getting Started
Running
Code Examples
These code examples are designed to demonstrate how to integrate bcoin modules with minimal configuration.
- Simple Fullnode - Creates a
FullNodeobject and connects totestnet. - Connect to Peer - Connects to a user-defined peer in
regtestmode. - Connecting to the P2P Network - Creates
chain,pool, andmempoolobjects for both main and testnet networks. - Creating a Blockchain and Mempool - Mines a block from the mempool to the chain.
- Wallet with Dummy TX - Adds a "dummy" transaction to the wallet and
txevent is handled. - SPV Sync - A transaction matching the SPV node's bloom filter is broadcast by a minimal full node to the SPV node.
- Plugin Example - Demonstrates the
pluginfeature of bcoin'snodeobject. - Client API Usage - Demonstrates usage of the node and wallet API.
- Miner with WorkerPool - Creates a regtest
chainandminer, which mines a block using workers. - Create and Sign TX - Demonstrates how to use
mtxandkeyringmodules to sign a transaction. - Get Transaction from Chain - Connects to live testnet network and syncs the first 1000 blocks with tx indexing active.
- Create Watch Only Wallet - Imports an
xpubinto a new watch-only wallet that can derive addresses.