Skip to content

Indicio-tech/aries-uniffi-wrappers

 
 

Repository files navigation

Aries uniffi wrappers

This repository contains the wrappers for the following libraries:

The wrappers are generated using UniFFI. UniFFI can generate several language bindings including Swift, Kotlin, and Python. Only the Swift bindings are currently supported.

Usage

The Swift wrappers are distributed as a Swift Package. To use the wrappers in your project, add the following dependency to your Package.swift:

    .package(url: "https://github.com/hyperledger/aries-uniffi-wrappers", from: "0.1.0"),

And add the following dependency to your target:

    .target(
        name: "MyTarget",
        dependencies: [
            .product(name: "AriesAskar", package: "aries-uniffi-wrappers"),
            .product(name: "AnonCreds", package: "aries-uniffi-wrappers"),
            .product(name: "IndyVdr", package: "aries-uniffi-wrappers"),
        ]
    ),

Take a look at the tests in Tests folder for examples on how to use the wrappers.

Contributing

Pull requests are welcome! We enforce developer certificate of origin (DCO) commit signing. See guidance here.

License

Aries uniffi wrappers are licensed under the Apache License 2.0.

Releases

No releases published

Packages

 
 
 

Languages

  • Swift 75.8%
  • Rust 21.5%
  • Shell 2.7%