Skip to content

Files

Failed to load latest commit information.

Latest commit

 Cannot retrieve latest commit at this time.

History

History
 
 

gotham-server

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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