Skip to main content

Getting Started

Ordhook is a utility designed for interacting with the Ordinal Theory protocol, enabling you to assign distinct identifiers to newly minted satoshis for diverse applications. 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.

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

cd ordhook

You are now inside the Ordhook directory.

Install Ordhook

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.