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?
Metadata
Release files for chainmeta 0.0.5.post1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| chainmeta-0.0.5.post1.tar.gz | 29.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| chainmeta-0.0.5.post1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 65.2 kB
Release files / chainmeta-0.0.5.post1.tar.gz
| Download URL | chainmeta-0.0.5.post1.tar.gz |
|---|---|
| Size | 29.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3bfb3f22c727a27a8737b9e7527d625b28d27815fed5369a08128510ed031272
|
|
BLAKE2b-256 checksum How to use checksums |
fea145512fb0b16ed5a1d8e6cd368f2ba8be95039e74030b6043865542427d6a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.4
|
Release files / chainmeta-0.0.5.post1-py3-none-any.whl
| Download URL | chainmeta-0.0.5.post1-py3-none-any.whl |
|---|---|
| Size | 35.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0317b77a430d0b0a028b182fb9c5f58c8663f0c38adcc5a9680d604059b0bffd
|
|
BLAKE2b-256 checksum How to use checksums |
5f8efae6c20cffad54be56ed8466929c4a40a0f552b42995d2d766ddce558190
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.4
|