Skip to content
You are reading the Ratify Protocol v2 beta documentation. Protocol v1 remains available at the site root.

Kotlin SDK (v2)

Add Maven Central and the Android library to your Gradle build:

repositories { mavenCentral() }
dependencies {
implementation("com.ratifyprotocol:ratify-protocol:2.0.0-beta.2")
testImplementation("com.ratifyprotocol:ratify-protocol-testing:2.0.0-beta.2")
}

Use implementation for the app SDK. Add ratify-protocol-testing only to tests that need the reference stores. The AAR supports Android API 28+ and contains three native Android ABIs.

Import com.ratifyprotocol for typed keys, delegation signing, challenge issuance, verification, receipt publication, and decision release. The application may act only after releaseDecision returns a released decision and its action check succeeds. See the SDK README for source builds, key custody, and platform limits.

The SDK runs the shared v2 corpus and cross-SDK fixtures. This beta has had the project’s own pre-release review; external independent review remains a gate for the stable release.