Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 1.14 KB

README.md

File metadata and controls

42 lines (26 loc) · 1.14 KB

Multihash.swift

Build Status License

This repository implements Multihash in Swift.

Getting Started

This library is built with the consideration of keeping it easy to include in your projects.

Import

The Multihash.swift package can be easily imported into your project using the swift package manager.

dependencies: [
    .package(url: "https://github.com/yeeth/Multihash.swift.git", from: "1.0.0"),
],
targets: [
    .target(name: "MyTarget", dependencies: ["Multihash"]),
]

Usage

let hash = Multihash(base58: "5drNu81uhrFLRiS4bxWgAkpydaLUPW")!
hash.code
hash.digest

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details