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.
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:
You are now inside the Ordhook directory.
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:
This command compiles the Ordhook code and installs it on your system.
With Ordhook installed, you can: