indexer

module
v0.0.0-...-7d4c4c8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2024 License: GPL-3.0

README

Cosmos Inscriptions Indexer

This is a reference implementation to index inscription data.

TODO: Complete description and why this is needed TODO: Not the most efficient, heavily commented to explain the process

DB Migrations

You need to install Atlas CLI first

curl -sSf https://atlasgo.sh | sh
Guides
Create a migration
  1. Update schema.sql
  2. Run make create-migration
Apply migration(s)
atlas migrate apply --env local

If you are running migration for first time, but on existing database there is a optional --baseline version argument. Atlas will mark this version as already applied and proceed with the next version after it.

Directories

Path Synopsis
src
indexer
Package indexer implements a reference implementation of the indexer following the Cosmos Inscriptions spec in the root of this repository
Package indexer implements a reference implementation of the indexer following the Cosmos Inscriptions spec in the root of this repository
indexer/decoder
package decoder provides a decoder for Cosmos SDK messages The code has been added from https://github.com/calvinlauyh/cosmosutils which hasn't been updated in many years
package decoder provides a decoder for Cosmos SDK messages The code has been added from https://github.com/calvinlauyh/cosmosutils which hasn't been updated in many years
indexer/metaprotocol
Package metaprotocol implements various metaprotocols and their rules for the indexer
Package metaprotocol implements various metaprotocols and their rules for the indexer
indexer/models
Package models implement database models for the indexer
Package models implement database models for the indexer
indexer/types
Package types contains the types used by the indexer
Package types contains the types used by the indexer

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL