Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 4 days ago
JSON representation
Tezos TZIP-16/TZIP-12 metadata indexer
- Host: GitHub
- URL: https://github.com/dipdup-io/metadata
- Owner: dipdup-io
- Created: 2021-04-23T13:26:25.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-05-06T13:36:01.000Z (6 months ago)
- Last Synced: 2024-10-30T04:55:48.937Z (14 days ago)
- Topics: dipdup, indexer, metadata, tezos, tzip-12, tzip-16
- Language: Go
- Homepage: https://ide.dipdup.io/?resource=https://metadata.dipdup.net/v1/graphql
- Size: 675 KB
- Stars: 17
- Watchers: 4
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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
```