Skip to content

PoolTool-io/CardanoStakeholderAuthenticator

Repository files navigation

Kotlin Server library for Cardano Stakeholder Authenticator Service

A REST API service to verify stakeholder ownership and provide stake history for addresses

Requires

  • JDK 1.8

Build

./gradlew check assemble

This runs all tests and packages the library.

Running

The server builds as a fat jar with a main entrypoint. To start the service, run java --Dservice-config-path=/path/to/service/config jar ./build/libs/cardano-authentication-service.jar.

Documentation for API Endpoints

All URIs are relative to https://csas.pegasuspool.info/v1

Class Method HTTP request Description
AuthenticatorApi stakehistoryAddressGet GET /stakehistory/{address} Get the stake history for a given address
AuthenticatorApi statusAddressGet GET /status/{address} Get the verification status for a given address
AuthenticatorApi verifyAddressDelete DELETE /verify/{address} Reset a given address’s status to unknown
AuthenticatorApi verifyAddressPost POST /verify/{address} Verify a given address.

Documentation for Models

Documentation for Authorization

APIKeyHeader

API endpoints must be called with a valid 'X-API-Key' header.

  • Type: API key
  • API key parameter name: X-API-Key
  • Location: HTTP header

About

Authentication System written in Kotlin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages