@littleor/tss-wasm-node

1.0.0 • Public • Published

TSS WASM

A portable lightweight client application for threshold ECDSA (based on GG18), built on&for multi-party-ecdsa :

  1. Wasm/Web
  2. HW friendly, like TEE

Npm publish

  • node: npm run build_node
  • web: npm run build

Latest release

web: @ieigen/tss-wasm@0.0.8

nodejs: @ieigen/tss-wasm-node@0.0.7, node 18.0+ is required

Test

Unit Test

npm run build
npm run test

Function Test via NodeJS

cargo build --examples --release
./target/release/examples/gg18_sm_manager

# open another console
npm run build_node
node scripts/run_keygen_sign_node.js

Function Test via Web

cargo build --examples --release
./target/release/examples/gg18_sm_manager

# open another console
npm run build
export NODE_OPTIONS=--openssl-legacy-provider
npm run webpack && npm run webpack-dev-server

Open http://localhost:8080/ in browser, check out the output in console.

Compile SM server by Docker

docker build -t ieigen:tss-sm-server --build-arg "BUILDARCH=$(uname -m)" -f sm.dockerfile .
docker run -d -p 8000:8000 -v $PWD/params.json:/tss-wasm/params.json ieigen:tss-sm-server

licence

GPL & Apache-2.0

Package Sidebar

Install

npm i @littleor/tss-wasm-node

Weekly Downloads

0

Version

1.0.0

License

Apache-2.0

Unpacked Size

5.56 MB

Total Files

17

Last publish

Collaborators

  • littleor