๐Installing & Indexing Ord Client
Installing Ord
Search "Visual Studio" in your Search bar and select to open it.
Click "Clone a repository"
Enter the following URL under "Repository location":
Click Clone. Once completed, open the Developer PowerShell for VS (you can search this in your menu bar). Run the following command to navigate to the ord folder:
Now we will install the cargo package. Run the following command:
Now we will navigate to where the Ord client is located. Simply type the following command:
Checking TXINDEX is synced
We will need to check to see where the indexing is at with Bitcoin Core.
In Bitcoin Core, click Window -> Console.
Type getindexinfo
-> Check the "synced" option, if it is "false", the txindex is still syncing. If the "synced" option is "true", then proceed to the next steps.
During indexing:
After indexing is finished:
If your getindexinfo comes back blank, you need to update your Bitcoin config file to include "txindex=1". Here is the guide: Update Bitcoin Config
Indexing Ord
You will now choose between indexing ord via ordstuff.info or doing it via the command line.
Select the tab below for the method you wish to index:
Indexing Ord via ordstuff.info (fastest, requires torrent client)
Ordinals legend Greg offers Ordinal indexes for download directly from his website https://ordstuff.info. These are available in torrent format, so you will need to have the appropriate software installed on your device to access them.
This will provide a faster way to index ord rather than indexing via command line.
REQUIREMENTS:
Torrent client such as uTorrent https://www.utorrent.com/
A ZIP tool (optional, but encouraged) - Decrease your chances of corrupting the index file when unzipping by using a ZIP tool:
WINZIP (recommended) https://www.winzip.com/en/download/winzip/
Go to: https://ordstuff.info/indexes/ Select the index version you wish to download. If you are looking to index with RUNES choose version 0.18 or later.
Now you will choose if you want to index WITH or WITHOUT sats. Here is the blurb from the website:
The 'with' and 'without' refer to the --index-sats index. All index files have inscriptions and runes indexed.
If you are only wanting to focus on etching and minting runes, you can choose the "without".
If you want to have the ability to sat hunt, you will choose the "with".
Once you click the file, the torrent file will begin to download.
Now open your torrent client (I will be using uTorrent in this guide).
Add the file that was just downloaded off Ordstuff to uTorrent. You can choose what folder the download will go to after it's completed. Make note of the location so you can find it later.
The file will begin to download. Keep the uTorrent window open as it downloads (this can take a while so check back periodically to see if it is finished).
Once it is done Downloading, you will begin Seeding. You can choose to leave the seeding on, or turn it off. Now you will unzip/uncompress the file that uTorrent downloaded to your computer. Navigate to the folder you had it saved to. You will see the zip file. Right click and Extract Files or use whichever ZIP tool you have on your computer.
This will take a bit of time (it took mine about 5-10 minutes):
Once it is done a new folder will appear and you will be able to open it. There will be an index file in there:
Create a New Ord Data Directory
Follow this if this is your first time indexing. If not, skip to Move Greg's Ordstuff Index File to Ord Data Directory.
In your command terminal, run the following command to begin an ord index. This will generate the ord data directory folder. Be sure to include the --data-dir flag if you wish to have it saved to an specific drive/folder.
Add --cookie-file <path>
if required. This will be required if you are saving your Bitcoin data to an external drive. See How to Find .cookie file.
Add --data-dir <path>
if you want the ord data directory index to be saved to an external folder and not locally on your C drive.
Example:./ord --cookie-file <path> --data-dir <path> index update
Once the index begins, press CTRL + C until the command stops and a new command line appears.
Move Greg's Ordstuff Index File to Ord Data Directory:
Navigate to your ord data directory. If you use a --data-dir when indexing, you will navigate to that path. If you do not use --data-dir, then navigate to your AppData -> Roaming -> Ord folder (see below).
If your ord data directory is located in your AppData folder, you can find it by typing %appdata%
in your bottom search bar and pressing Enter. Navigate to your Roaming folder -> ord folder.
Once you are in your ord folder, you will see an existing index.redb
file.
Delete the existing index.redb file (or you can make a folder called "backup" and move it in there, optional).
Move the new index file from Ordstuff that was just unzipped into the ord folder.
IMPORANT !! Now rename the file index.redb
Now go to your command prompt, run the following command:
Add --cookie-file <path>
if required. This will be required if you are saving your Bitcoin data to an external drive. See How to Find .cookie file.
Add --data-dir <path>
if you want the ord data directory index to be saved to an external folder and not locally on your C drive.
Example:./ord --cookie-file <path> --data-dir <path> index update
Index should pick up from the last block ordstuff indexed. If it starts from block 0, there may be an issue (either you did not save it to the correct ord data directory folder or did not rename). Once it is done updating, a new command line will appear.
Last updated