Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 854 Bytes

Readme.md

File metadata and controls

25 lines (18 loc) · 854 Bytes

Ethos API Demo

The purpose of this repo is to provide a simple demo for using the Ethos Public API, the Swagger docs for which are located here.

What does it do?

  1. Creates wallets that can be used for signing arbitrary data
  2. Creates a multi-sig wallet
  3. Adds the individual wallets as signers of the multi-sig wallet
  4. Generates the multi-sig wallet
  5. Starts a multi-sig signature process to sign arbitrary data
  6. Uses the inidividual accounts to sign the arbitrary data
  7. Retrieves the signature.

Running the demo

  1. Contact support@ethoswallet.xyz to get a tenant id and api key.

  2. Create a .env file in the root of this directory and put the following in it:

    API_KEY=<api key provided by ethose>

  3. Install dependencies

    npm install

  4. Run the project

    npm start