You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Running in the Browser](https://bcoin.io/guides/browser.html)
11
-
-[REST and RPC API](https://bcoin.io/api-docs/index.html#introduction)
11
+
## External links
12
+
13
+
-[Guides](https://bcoin.io/guides.html)
14
+
-[Running in the browser](https://bcoin.io/guides/browser.html)
15
+
-[Node and wallet REST and RPC API](https://bcoin.io/api-docs/index.html)
12
16
13
-
## Code Examples
17
+
## Library examples
14
18
15
19
These code examples are designed to demonstrate how to integrate bcoin modules
16
20
with minimal configuration.
17
21
18
-
-[Simple Fullnode](Examples/fullnode.js) - Creates a `FullNode` object and connects to `testnet`.
19
-
-[Connect to Peer](Examples/connect-to-peer.js) - Connects to a user-defined peer in `regtest` mode.
20
-
-[Connecting to the P2P Network](Examples/connect-to-the-p2p-network.js) - Creates `chain`, `pool`, and `mempool` objects for both main and testnet networks.
21
-
-[Creating a Blockchain and Mempool](Examples/create-a-blockchain-and-mempool.js) - Mines a block from the mempool to the chain.
22
-
-[Wallet with Dummy TX](Examples/wallet.js) - Adds a "dummy" transaction to the wallet and `tx` event is handled.
23
-
-[SPV Sync](Examples/spv-sync-wallet.js) - A transaction matching the SPV node's bloom filter is broadcast by a minimal full node to the SPV node.
24
-
-[Plugin Example](Examples/peers-plugin.js) - Demonstrates the `plugin` feature of bcoin's `node` object.
25
-
-[Client API Usage](Examples/client-api.js) - Demonstrates usage of the node and wallet API.
26
-
-[Create and Sign TX](Examples/create-sign-tx.js) - Demonstrates how to use `mtx` and `keyring` modules to sign a transaction.
27
-
-[Get Transaction from Chain](Examples/get-tx-from-chain.js) - Connects to live testnet network and syncs the first 1000 blocks with tx indexing active.
28
-
-[Create Watch Only Wallet](Examples/watch-only-wallet.js) - Imports an `xpub` into a new watch-only wallet that can derive addresses.
22
+
-[Simple fullnode](examples/fullnode.js) - Creates a `FullNode` object and
23
+
connects to `testnet`.
24
+
-[Connect to peer](examples/connect-to-peer.js) - Connects to a user-defined
25
+
peer in `regtest` mode.
26
+
-[Connecting to the P2P network](examples/connect-to-the-p2p-network.js) -
27
+
Creates `chain`, `pool`, and `mempool` objects for both main and
28
+
testnet networks.
29
+
-[Creating a blockchain and mempool](examples/create-a-blockchain-and-mempool.js) -
30
+
Mines a block from the mempool to the chain.
31
+
-[Wallet with dummy TX](examples/wallet.js) - Adds a "dummy" transaction to
32
+
the wallet and `tx` event is handled.
33
+
-[SPV sync](examples/spv-sync-wallet.js) - A transaction matching the SPV
34
+
node's bloom filter is broadcast by a minimal full node to the SPV node.
35
+
-[Plugin example](examples/peers-plugin.js) - Demonstrates the `plugin`
36
+
feature of bcoin's `node` object.
37
+
-[Client API usage](examples/client-api.js) - Demonstrates usage of the node
38
+
and wallet API.
39
+
-[Create and sign TX](examples/create-sign-tx.js) - Demonstrates how to use
40
+
`mtx` and `keyring` modules to sign a transaction.
41
+
-[Get transaction from chain](examples/get-tx-from-chain.js) - Connects to
42
+
live testnet network and syncs the first 1000 blocks with tx indexing active.
43
+
-[Create watch only wallet](examples/watch-only-wallet.js) - Imports an `xpub`
44
+
into a new watch-only wallet that can derive addresses.
0 commit comments