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.2.tar.gz (29.1 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.2-py3-none-any.whl (35.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for chainmeta-0.0.2.tar.gz
Algorithm Hash digest
SHA256 7add89a0dc869280ccb39ba43892c15f711e31005fb636401e637e9b77a52fb8
MD5 816dbfba879157fdcb5b6ba88e894e40
BLAKE2b-256 4c860f0d3e8d7940dabd186774352c0dede7d388eb26c6fa2b37271d1e29e01a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for chainmeta-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8f6611b132cdb3e4bea56c4707751c857e635b7e8d17c79be9a5a595cf7c6c4c
MD5 17dce6f13fd7cf7d801e4a16910d4a3c
BLAKE2b-256 c5e6dcc0c69f3160939b063f208b155701760483fde013d5d7374111af2466cf

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