/findy-common-kt

Kotlin helper library for Findy agency API

Primary LanguageKotlinApache License 2.0Apache-2.0

findy-common-kt

test

Findy Agency is an open-source project for a decentralized identity agency. OP Lab developed it from 2019 to 2024. The project is no longer maintained, but the work will continue with new goals and a new mission. Follow the blog for updates.

Setup env

  1. Setup gradle

    ./tools/setup-gradle.sh
  2. Run tests

    ./gradlew check
  3. Check licenses

    ./gradlew checkLicense
  4. Run sample

    1. Install findy-agent-cli

    2. Setup local agency or use cloud installation. If using cloud installation, define needed environment variables. By default the sample tries to connect with local installation.

    3. Run app

      ./gradlew :sample:Sample
    4. Sample will print connection invitation. When another aries agent connects with the invitation, sample sends greeting through basic message protocol.

Publishing

  1. Publish libraries to local maven repository

    ./gradlew publishToMavenLocal
  2. Publish libraries to GitHub

    1. Define following env variables:

      export USERNAME=<your_gh_username>
      export TOKEN=<your_gh_token_with_packages_access>
    2. Increase version number in build.gradle.kts

    3. Publish to GitHub:

      ./gradlew publish