ExamplesΒΆ
These examples mirror the js-multiformats interface demos and show
how to use the same concepts from Python.
Run examples from the repository root:
python -m examples.block_interface.block_interface
python -m examples.cid_interface.cid_interface
python -m examples.multicodec_interface.multicodec_interface
python -m examples.multihash_interface.multihash_interface
Most examples support --json for structured output that is easier to compare in tests.