ipldm: The InterPlanetary Linked Data Model and codec formats.

[ agpl, codec, library, network, protocol ] [ Propose Tags ] [ Report a vulnerability ]

Provides the IPLD data model in an abstract form with the different IPLD data kinds. Also codecs for decoding these kinds from serialized formats such as DAG-CBOR, and encoding the abstract data model back into binary formats.


[Skip to Readme]

Flags

Manual Flags

NameDescriptionDefault
ci

CI Build options

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 1.0.0.0
Change log CHANGELOG.md
Dependencies array (>=0.5 && <0.6), base (>=4.18 && <5), basesystems (>=1.2 && <1.3), bytestring (>=0.12 && <0.13), containers (>=0.7 && <0.8), deepseq (>=1.4 && <1.5), mfmts (>=1.2 && <1.3), parallel (>=3.3 && <3.4), text (>=2.1 && <2.2), xcodec (>=1.1 && <1.2) [details]
Tested with ghc ==9.6.7
License AGPL-3.0-or-later
Author Zoey McBride
Maintainer zoeymcbride@mailbox.org
Uploaded by z0 at 2026-07-09T12:05:52Z
Revised Revision 1 made by z0 at 2026-07-09T14:42:30Z
Category Network, Codec, Protocol
Source repo head: git clone https://git.sr.ht/~z0/ipldm
Distributions
Downloads 1 total (1 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for ipldm-1.0.0.0

[back to package description]

ipldm builds.sr.ht status

The ipldm library provides methods for working with the IPLD data model (DM) in Haskell. Disclaimer that this project is still in alpha, and not ready to be used in a production system.

Currently, the project has the following functionalities:

  • Represeting the DM with nodes of some kind including CIDs provided by the mfmts package.
  • A type-class interface for implementing generic encoders and decoders for the DM using Alternatives.
  • Implements codec for DAG-CBOR with encoder/decoder instances that work with CBOR encoded bytestrings and provides exeptions for formatting errors and IPLD's extra constraints.

Development

Unit tests are provided on the main ipfshs repo, and bugs can be reported on ipfshs ticket tracker.

Licensing

The ipldm project and its modules are free software and licensed under the AGPLv3 license. See LICENSE.txt.

Copyright © 2026 Zoey McBride | zoeymcbride@mailbox.org