🔢Indexer
Introducing the Doginal Indexer - your go-to tool for token creation on the Dogecoin network. Remember, like Bitcoin and a few other networks, Dogecoin doesn't support smart contracts. But don't worry, we've got you covered with our Doginal Indexer.
What does the Indexer do?
Our system assigns numbers to Shibes, the tiniest units of Dogecoin, based on the order they were mined and transferred. This gives each Shibe a virtual ID, making them non-fungible by identity while still keeping their value fungible.
Content types
In accordance with common practices in the Ordinals and BRC-20 ecosystem we support the following content types for your DRC-20 inscriptions:
"text/plain"
"application/json"
Be aware that we can only process your DRC-20 inscription if the content type is correctly spelled.
See the full standard in the open source Github Repro: https://github.com/verydogelabs
Why did it take a while to get a working Indexer?
Now, building a Doginal Indexer is no walk in the dog park. Why? In the early stages of Dogecoin's development, specifically within the first 145,000 blocks, the block rewards, also referred to as subsidies, were not uniform in amount. Neither did they follow a halving system commonly used in other cryptocurrencies. Instead, each block came with a distinct reward. This variability can be easily demonstrated by comparing the rewards of any two blocks within this range, which would show completely different values.
For the effective operation of the ord indexer, it is crucial to have accurate knowledge of the creation and circulation of Shibes, the smallest unit of Dogecoin. The ord indexer is responsible for maintaining a comprehensive history of these Shibes being transferred, making it vital for it to know at which blocks and how many elons have entered circulation.
Without a working Indexer you can inscribe Doginals, but not transfer them.
How did we create a working Indexer?
To address this challenge, we developed a solution involving fetching all the random block rewards through a script. We collected the block rewards data from the blockchain and inputted them into our system. This was followed by integrating this data into our ord fork. With this approach, we were able to ensure that the ord indexer is working with the real Shibes numbers. This guarantees the accurate tracking of the transaction history and circulation of Shibes, thereby enhancing the overall efficiency and reliability of our system.
Please be aware ⚠️
Our indexer has not undergone an audit. As a result, it may contain bugs, and consequently, inscription transfers might be invalid. Use it at your own risk. We are committed to continually improving the quality of our indexer over time. The open-source code for the most relevant file can be found at this link: https://github.com/verydogelabs
Last updated