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.
- Creates wallets that can be used for signing arbitrary data
- Creates a multi-sig wallet
- Adds the individual wallets as signers of the multi-sig wallet
- Generates the multi-sig wallet
- Starts a multi-sig signature process to sign arbitrary data
- Uses the inidividual accounts to sign the arbitrary data
- Retrieves the signature.
-
Contact support@ethoswallet.xyz to get a tenant id and api key.
-
Create a .env file in the root of this directory and put the following in it:
API_KEY=<api key provided by ethose>
-
Install dependencies
npm install
-
Run the project
npm start