Skip to content

Commit 66a4559

Browse files
max-crawfordLudo Galabru
and
Ludo Galabru
authored
fix: grammar updates
grammar updates Co-authored-by: Ludo Galabru <ludo@hiro.so>
1 parent 54e5fa1 commit 66a4559

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/how-to-guides/how-to-run-ordhook-as-a-service-using-bitcoind.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
2-
title: Run Ordhook as a Service using Bitcoind
2+
title: Run Ordhook as a Service Using Bitcoind
33
---
44

55
## Prerequisites
66

7-
### Setting up a Bitcoin Node
7+
### Setting Up a Bitcoin Node
88

99
The Bitcoin Core daemon (bitcoind) is a program that implements the Bitcoin protocol for remote procedure call (RPC) use. Ordhook can be set up to interact with the Bitcoin chainstate through bitcoind's ZeroMQ interface, its embedded networking library, passing raw blockchain data to be evaluated for relevant events.
1010

@@ -132,15 +132,15 @@ Here is a table of the relevant parameters this guide changes in our configurati
132132

133133
In this section, you'll learn how to run Ordhook as a service using [Ordhook SDK](https://github.com/hirosystems/ordhook/tree/develop/components/ordhook-sdk-js) to post events to a server.
134134

135-
Use the following command to start the Ordhook service for streaming and processing new blocks appended to the Bitcoin blockchain.
135+
Use the following command to start the Ordhook service for streaming and processing new blocks appended to the Bitcoin blockchain:
136136

137137
`ordhook service start --post-to=http://localhost:3000/api/events --config-path=./Ordhook.toml`
138138

139139
When the Ordhook service starts, it is initiated in the background to augment the blocks from Bitcoin. Bitcoind sends ZeroMQ notifications to Ordhook to retrieve the inscriptions.
140140

141141
### Add `http-post` endpoints dynamically
142142

143-
To enable dynamically posting endpoints to the server, you can spin up the Redis server by enabling the following lines of code in the `Ordhook.toml` file.
143+
To enable dynamically posting endpoints to the server, you can spin up the Redis server by enabling the following lines of code in the `Ordhook.toml` file:
144144

145145
```toml
146146
[http_api]
@@ -150,7 +150,7 @@ database_uri = "redis://localhost:6379/"
150150

151151
## Run ordhook service
152152

153-
Based on the `Ordhook.toml` file configuration, the ordhook service spins up an HTTP API to manage event destinations. Use the following command to start the ordhook service.
153+
Based on the `Ordhook.toml` file configuration, the ordhook service spins up an HTTP API to manage event destinations. Use the following command to start the ordhook service:
154154

155155
`ordhook service start --config-path=./Ordhook.toml`
156156

0 commit comments

Comments
 (0)