Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 1.02 KB

README.md

File metadata and controls

31 lines (25 loc) · 1.02 KB

Gotham Server

Gotham Server

Introduction

Gotham server is a RESTful web service exposing APIs for two party ECDSA key generation and signing.

Installation

Launching the server

git clone https://github.com/KZen-networks/gotham-city.git
cd gotham-city/gotham-server
cargo run --release
  • By default, the server will use a local RocksDB.
    Optionally, it can use a remote AWS DynamoDB, by setting the environment variable DB to the value AWS, and the AWS credentials AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY.

  • By default, the server will use no authentication (PASSTHROUGH).
    Optionally, it can use JWT with AWS Cognito as a service provider by setting proper environment variable (audience, region, pool_id, issuer).

Running tests

Without timing output

RUST_TEST_THREADS=1 cargo test --release

With timing output

RUST_TEST_THREADS=1  cargo test --release -- --nocapture