Files
bitcoin-indexer/docs/getting-started.md
max-crawford d90a298f01 doc: update getting-started
Co-authored-by: Ludo Galabru <ludo@hiro.so>
2023-10-23 16:21:24 -04:00

1.6 KiB

title
title
Getting Started

Ordhook is a developer tool designed for interacting with Bitcoin ordinals, enabling you to retrieve ordinal activity from the Bitcoin chain. Follow the steps below to install Ordhook.

Installing Ordhook

Note

Before proceeding, make sure you have the Rust and Cargo (Rust's package manager) installed on your computer.

Clone the Repository

Open your terminal and navigate to the directory where you want to clone the Ordhook repository. Then run the following command to clone the repository:

git clone https://github.com/hirosystems/ordhook.git

This will download the Ordhook source code to your local machine.

Navigate to the Ordhook Directory

Move into the newly cloned Ordhook directory by running the following command:

cd ordhook

You are now inside the Ordhook directory.

Install Ordhook

NOTE:

Ordhook requires Rust to be installed on your system. If you haven't installed Rust yet, you can do so by following the instructions on the official Rust website.

Use the Rust package manager, Cargo, to install Ordhook. Run the following command:

cargo ordhook-install

This command compiles the Ordhook code and installs it on your system.

Next Steps

With Ordhook installed, you can: