JoinSEEDS / seeds-smart-contracts

Smart contracts for SEEDS - A Regenerative Civilization Building Game.
https://docs.google.com/document/d/1C4w9Ol8VGabCIcQDVPDrwcTRoJXBqhrb7VjslwQbUGU/edit#heading=h.6f4sxygso816
MIT License
20 stars 6 forks source link

On-chain registry for token metadata #421

Open chuck-h opened 2 years ago

chuck-h commented 2 years ago

What

A contract with tables that hold metadata (e.g. graphical logo, descriptive name) for each cryptotoken used in the Seeds ecosystem. The contract data provides a shared registry readily available to any wallet app or other application.

Why

How

The contract has a "submit" action which contains fields uniquely identifying the token (e.g. HUSD token from husd.hypha contract on Telos mainnet) and extensible JSON data carrying metadata; this creates an on-chain table entry for the token. A subsequent human vetting process results in the token and metadata being accepted for use. The contract allows for granularity in acceptance domains (e.g. a token might appear on seeds-swaps but not in the Passport)

chuck-h commented 2 years ago

Pull request https://github.com/JoinSEEDS/seeds-smart-contracts/pull/420

chuck-h commented 2 years ago

We need a schema for the json metadata.