Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/0xEigenLabs/tss-wasm
Threshold signature library across multiple platforms
https://github.com/0xEigenLabs/tss-wasm
ecdsa tss wasm
Last synced: about 1 month ago
JSON representation
Threshold signature library across multiple platforms
- Host: GitHub
- URL: https://github.com/0xEigenLabs/tss-wasm
- Owner: 0xEigenLabs
- Created: 2022-08-10T15:01:39.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-19T10:41:00.000Z (over 1 year ago)
- Last Synced: 2024-02-15T19:32:50.128Z (5 months ago)
- Topics: ecdsa, tss, wasm
- Language: Rust
- Homepage:
- Size: 173 KB
- Stars: 37
- Watchers: 4
- Forks: 9
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Lists
- awesome-tss - tss-wasm - party-ecdsa (ZenGo X)](https://github.com/ZenGo-X/multi-party-ecdsa), only implementing GG18. (TSS list)
README
# TSS WASM
A portable lightweight client application for threshold ECDSA (based on [GG18](https://eprint.iacr.org/2019/114.pdf)), built on&for [multi-party-ecdsa](https://github.com/ZenGo-X/multi-party-ecdsa) :
1) Wasm/Web
2) HW friendly, like [TEE](https://github.com/0xEigenLabs/eigencc)# Npm publish
* node: npm run build_node
* web: npm run build## Latest release
web: @ieigen/[email protected]
nodejs: @ieigen/[email protected], 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