From 66a4559aecfd8beea91ebdf24f665a1a58f475d8 Mon Sep 17 00:00:00 2001 From: max-crawford <102705427+max-crawford@users.noreply.github.com> Date: Mon, 23 Oct 2023 13:20:47 -0700 Subject: [PATCH] fix: grammar updates grammar updates Co-authored-by: Ludo Galabru --- .../how-to-run-ordhook-as-a-service-using-bitcoind.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/how-to-guides/how-to-run-ordhook-as-a-service-using-bitcoind.md b/docs/how-to-guides/how-to-run-ordhook-as-a-service-using-bitcoind.md index 214cf07e..65cd1830 100644 --- a/docs/how-to-guides/how-to-run-ordhook-as-a-service-using-bitcoind.md +++ b/docs/how-to-guides/how-to-run-ordhook-as-a-service-using-bitcoind.md @@ -1,10 +1,10 @@ --- -title: Run Ordhook as a Service using Bitcoind +title: Run Ordhook as a Service Using Bitcoind --- ## Prerequisites -### Setting up a Bitcoin Node +### Setting Up a Bitcoin Node 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. @@ -132,7 +132,7 @@ Here is a table of the relevant parameters this guide changes in our configurati 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. -Use the following command to start the Ordhook service for streaming and processing new blocks appended to the Bitcoin blockchain. +Use the following command to start the Ordhook service for streaming and processing new blocks appended to the Bitcoin blockchain: `ordhook service start --post-to=http://localhost:3000/api/events --config-path=./Ordhook.toml` @@ -140,7 +140,7 @@ When the Ordhook service starts, it is initiated in the background to augment th ### Add `http-post` endpoints dynamically -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. +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: ```toml [http_api] @@ -150,7 +150,7 @@ database_uri = "redis://localhost:6379/" ## Run ordhook service -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. +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: `ordhook service start --config-path=./Ordhook.toml`