Skip to content

Commit

Permalink
fix: grammar tweaks
Browse files Browse the repository at this point in the history
grammar tweaks
  • Loading branch information
max-crawford committed Oct 23, 2023
1 parent 669d743 commit e50aef0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/how-to-guides/how-to-stream-ordinal-activities.md
Expand Up @@ -2,7 +2,7 @@
title: Stream Ordinal Activities to an API
---

Ordhook is a tool that helps you find ordinal activities from the Bitcoin chain. Think of it like a detective that can find and track these activities for you. Once it finds these activities, it can be used to help build your own database. This guide will show you how to use Ordhook to stream these activities.
Ordhook is a tool that helps you find ordinal activity from the Bitcoin chain and build your own customized database with that data. This guide will show you how to use Ordhook to stream ordinal activity.

### Configure Ordhook

Expand All @@ -11,7 +11,7 @@ This section walks you through streaming ordinal activities. To post the ordinal
> **_NOTE_**
> Ordhook is applicable to the Bitcoin chain only.
Once the Bitcoin node is configured, you can use the following command in your terminal to create a configuration for Ordhook.
Once the Bitcoin node is configured, you can use the following command in your terminal to create a configuration for Ordhook:

`ordhook config new --mainnet`

Expand Down Expand Up @@ -70,9 +70,9 @@ bitcoind_rpc_password = "devnet"
bitcoind_zmq_url = "tcp://0.0.0.0:18543"
```

### Post ordinal activity to an external endpoint
### Post Ordinal Activity to an External Endpoint

After adjusting the `Ordhook.toml` settings to make them match the bitcoind configuration, the following command can be run to scan blocks and post events to a local server.
After adjusting the `Ordhook.toml` settings to make them match the bitcoind configuration, the following command can be run to scan blocks and post events to a local server:

`ordhook scan blocks 767430 767753 --post-to=http://localhost:3000/api/events --config-path=./Ordhook.toml`

Expand Down

0 comments on commit e50aef0

Please sign in to comment.