This repo contains 2 jvm packages:
/protocol
- create, parse, verify, and validate the tbdex messages and resources defined in the protocol draft specification/httpclient
- An HTTP client that can be used to send tbdex messages to PFIs
tbdex sdk is consumable through JitPack:
repositories {
maven("https://jitpack.io")
maven("https://repo.danubetech.com/repository/maven-public/")
}
dependencies {
implementation("com.github.TBD54566975:tbdex-kt:0.4.0-beta")
}
Important
The repository at https://repo.danubetech.com/repository/maven-public/
is required for resolving transitive
dependencies.
the tbdex repo acts as the source of truth for all json schemas and test vectors. For this reason, the tbdex
repo is a git
submodule
of this repo. By default, git clone
does not actually check out the submodule's files. Using --recurse-submodules
option when cloning automatically initializes, fetches, and does a checkout of the appropriate commit for the submodule.
If you've already cloned the repo without --recurse-submodules
, you can do the following:
git submodule update --init
copying the schemas and test vectors into the protocol package's resources
directory can be done by running ./gradlew syncSchemas
and ./gradlew syncTestVectors
respectively.