Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dipdup-io/metadata

Tezos TZIP-16/TZIP-12 metadata indexer
https://github.com/dipdup-io/metadata

dipdup indexer metadata tezos tzip-12 tzip-16

Last synced: about 2 months ago
JSON representation

Tezos TZIP-16/TZIP-12 metadata indexer

Awesome Lists containing this project

README

        

# Metadata indexer

[![Tests](https://github.com/dipdup-net/metadata/workflows/Tests/badge.svg?)](https://github.com/dipdup-net/metadata/actions?query=workflow%3ATests)
[![Docker images](https://github.com/dipdup-net/metadata/workflows/Release/badge.svg?)](https://hub.docker.com/r/dipdup/metadata)
[![Made With](https://img.shields.io/badge/made%20with-dipdup-blue.svg?)](https://dipdup.net)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

Selective Tezos metadata indexer based on DipDup framework.
Supported features:
- [TZIP-16](https://gitlab.com/tzip/tzip/-/blob/master/proposals/tzip-16/tzip-16.md) contract metadata
- [TZIP-12](https://gitlab.com/tezos/tzip/-/blob/master/proposals/tzip-12/tzip-12.md#token-metadata) token metadata
- IPFS file pinning
- Token thumbnails generating (and uploading to AWS)
- Elasicsearch mode

## Configuration

Fully compatible with DipDup YAML configuration file format.
Metadata indexer reuses `datasources`, `contracts`, `database`, `hasura` sections, and reads its own settings from `metadata` top-level section.

Read more [in the docs](https://docs.dipdup.net/plugins/metadata).

## GQL client

```
npm i @dipdup/metadata
```

Read [how to use](./build/client/README.md) the GraphQL client for the Metadata service.

## Maintenance

### Refetch recent metadata

This is not a permanent solution, rather an ad-hoc command to fix recent fetch errors. Adjust the data accordingly or remove time condition.
```sql
UPDATE token_metadata
SET retry_count=0, status=1
WHERE created_at > 1646082000 AND metadata ISNULL
```