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
Release history Release notifications | RSS feed
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.3.tar.gz
(29.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
chainmeta-0.0.3-py3-none-any.whl
(35.4 kB
view details)
File details
Details for the file chainmeta-0.0.3.tar.gz.
File metadata
- Download URL: chainmeta-0.0.3.tar.gz
- Upload date:
- Size: 29.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
903cb1b383b2b2246b9daa3e0bcd11924a532aa7841daaf010c9e6cdd1a511bd
|
|
| MD5 |
83299065d3105fc924373dbe89e163da
|
|
| BLAKE2b-256 |
3d1912ae4eb1a0f99b1162913f28e20796c193d0b25c98fc7206ecefb101e9bb
|
File details
Details for the file chainmeta-0.0.3-py3-none-any.whl.
File metadata
- Download URL: chainmeta-0.0.3-py3-none-any.whl
- Upload date:
- Size: 35.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
53282e7be9e0cd215c63a2a132f4ae759971f2106eb1c5a5d4d7c22dd6af874c
|
|
| MD5 |
f2218999c69ce41502cd933615d1a6f5
|
|
| BLAKE2b-256 |
806910a83bb1c2b9c77db63672352d9ac9e8542293d08ed85f4b5d02487ac328
|