Skip to main content

Onchain metadata exchange protocol

Project description

Chainmeta

Chainmeta is the onchain metadata exchange protocol defined by Microscope Protocol

>>> import chainmeta
>>> f = open("./examples/coinbase_sample.json")
>>> m = chainmeta.load(f, artifact_base_path="./examples")
>>> m['chainmetadata']['schema']
'https://github.com/openchainmeta/chainmetareader/chainmeta/schemas/artifact_schema.json'
>>> m['chainmetadata']['artifact'][0]
ChainmetaItem(chain='ethereum_mainnet', address='0xf177aa7b0602f787f6f01c65f4b2e267336fd349', entity='uniswap', name='Uniswap V2: Hmf', categories=['defi', 'dex'], source='ground_truth', submitted_by='coinbase', submitted_on='2022-09-21 00:00:00', additional_metadata={})

What is Microsocope?

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chainmeta-0.0.5.tar.gz (29.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chainmeta-0.0.5-py3-none-any.whl (35.5 kB view details)

Uploaded Python 3

File details

Details for the file chainmeta-0.0.5.tar.gz.

File metadata

  • Download URL: chainmeta-0.0.5.tar.gz
  • Upload date:
  • Size: 29.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.4

File hashes

Hashes for chainmeta-0.0.5.tar.gz
Algorithm Hash digest
SHA256 6fda717a24af366b71ad41fc8a75e5742598b380ecbf5d96a86878ebd829049f
MD5 928e149b293dbbb8913e5319ee72827f
BLAKE2b-256 321c16fbf3c04ecb8c8e2927c577f9a8f5ca70503dfffd7f1a9935a14b951e43

See more details on using hashes here.

File details

Details for the file chainmeta-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: chainmeta-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 35.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.4

File hashes

Hashes for chainmeta-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ea0b5fbac7930985974f9289065dd6896f8438e51a2f7d051feb7da6e110cf18
MD5 08aad781ade4e830a0111d0fb5a31bfa
BLAKE2b-256 0d072786e26727f95f6e1713a3b5d16d8795dd2b194b5c159fe006ae7b9dd1ab

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page