hs-multiaddr: Multiaddr Library for LibP2P

[ apache, data, library ] [ Propose Tags ]

Multiaddr is self-describing way to represent addresses that support any standard network protocol. Multiaddr has a binary packed format, and nice string representation. It is possible to encapsulate addresses within each other.


[Skip to Readme]

Modules

  • Data
    • Data.Multiaddr
      • Data.Multiaddr.IPFS
      • Data.Multiaddr.IPv4
      • Data.Multiaddr.IPv6
      • Data.Multiaddr.Onion
      • Data.Multiaddr.Port
      • Data.Multiaddr.UnixPath
      • Data.Multiaddr.VarInt
    • Data.MultiaddrPart

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1, 0.1.4
Dependencies base (>=4.7 && <4.9), bytes, bytestring, cereal, filepath, io-streams (>=1.2 && <1.3), iproute, multihash, optparse-applicative (>=0.11 && <0.12), sandi, text [details]
License BSD-3-Clause
Copyright Copyright: (c) 2017 Roger Qiu
Author CMCDragonkai
Maintainer roger.qiu@matrix.ai
Category Data
Home page https://github.com/MatrixAI/haskell-multiaddr#readme
Source repo head: git clone https://github.com/MatrixAI/haskell-multiaddr
Uploaded by CMCDragonkai at 2017-05-23T14:14:23Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 1942 total (9 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2017-05-23 [all 3 reports]

Readme for hs-multiaddr-0.1.0.0

[back to package description]

Matrix Multi Address

Here is an experiment to combine the haskell implementation of Multiaddress with the Haskell implementation of Multihash.

Along the way, we must learn how stack works.

-- Multiaddr is a record wrapping a list of MultiaddrParts -- a Multiaddr here is a typed Multiaddr within Haskell -- in the outside world, there are 2 kinds of Multiaddr -- a textual human readable version -- a binary encoded version -- this library exposes the typed Multiaddr -- while allowing Multiaddr to be created from -- human readable text or binary encoded string

There is any number of slashes.