@phala/dstack-sdk
v0.1.7
Published
DStack SDK
Downloads
16,619
Readme
Tappd SDK
This SDK provides a TypeScript client for communicating with a Tappd server via Unix Domain Socket.
Installation
npm install tappd-sdk
Usage
import { TappdClient } from 'tappd-sdk';
const client = new TappdClient('/path/to/tappd.sock');
client.deriveKey('/', 'mySubject')
.then(result => console.log(result))
.catch(error => console.error(error));
Development
- Clone the repository
- Install dependencies:
npm install
- Build the project:
npm run build
- Run tests:
npm test
License
Apache License