Skip to content

codeyam-ai/ethos-api-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published