TSS of GG18 by WASM, for Confidential Transaction Generation and Signing

Overview

TSS WASM

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

  1. Wasm
  2. HW friendly

Dev

yarn build
yarn test

Npm publish

  • node: yarn build_node
  • web: yarn build

Latest release

@ieigen/tss-wasm: 0.0.4
@ieigen/tss-wasm-node: 0.0.1, node 18.0+ is required

SM Server

The SM Server currently is built on modified ZengoX Multiparty ECDSA

licence

GPL & Apache-2.0

You might also like...
Gun port in rust & wasm

gun-rs-wasm Rust & WASM port of Gun. For a non-wasm version, check out gun-rs Example (source) Use npm install rusty-gun import { Node as Gun } from "

Install `wasm-pack` by downloading the executable

wasm-pack-action Install wasm-pack by downloading the executable (much faster than cargo install wasm-pack, seconds vs minutes). Usage - uses: jetli/w

`wasm-snip` replaces a WebAssembly function's body with an `unreachable`

wasm-snip wasm-snip replaces a Wasm function's body with an unreachable instruction. API Docs | Contributing | Chat Built with πŸ¦€ πŸ•Έ by The Rust and W

gc-sections for wasm

wasm-gc Note: you probably don't need to use this project. This project is no longer necessary to run by hand, nor do you need the wasm-gc executable

List the symbols within a wasm file

wasm-nm List the symbols within a wasm file. Library Executable License Contributing Executable To install the wasm-nm executable, run $ cargo install

Just a little game I made in a day to try out the WASM-4 fantasy console.

Dodgeball This is just a little game I made in a day to try out the WASM-4 fantasy console. Play it here. The palette is SODA-CAP by Cappuchi. License

WebAssembly (Wasm) interpreter.

Continuous Integration Test Coverage Documentation Crates.io wasmi- WebAssembly (Wasm) Interpreter wasmi was conceived as a component of parity-ethere

πŸ“ A template for creating WASM + Typescript + Rust workflow libraries.
πŸ“ A template for creating WASM + Typescript + Rust workflow libraries.

Create Rust + TypeScript libraries with ease! PR'S WELCOMED! ✨ Inspiration I wanted to create a WebAssembly/Rust library with additional JS features,

A self-guided learning project that includes Rust + Wasm together
A self-guided learning project that includes Rust + Wasm together

A self-guided learning project that includes Rust + Wasm together. Who knows, maybe Typescript and React joins too..

Comments
  • Headers is not defined for target=nodejs

    Headers is not defined for target=nodejs

    index.js:

    const { gg18 } = require("@ieigen/tss-wasm-node");
    
    async function main() {
      const t = 1;
        const n = 3;
        context = await gg18.gg18_keygen_client_new_context(
          "http://127.0.0.1:8000",
          t,
          n
        );
        console.log("keygen new context: ", context);
        context = await gg18.gg18_keygen_client_round1(context);
        console.log("keygen round1: ", context);
        context = await gg18.gg18_keygen_client_round2(context);
        console.log("keygen round2: ", context);
        context = await gg18.gg18_keygen_client_round3(context);
        console.log("keygen round3: ", context);
        context = await gg18.gg18_keygen_client_round4(context);
        console.log("keygen round4: ", context);
        const keygen_json = await gg18.gg18_keygen_client_round5(context);
        console.log("keygen json: ", keygen_json);
        res.json(util.Succ(keygen_json));
    }
    
    main().then(() => {
      console.log("done")
    })
    

    run: node index.js error:

    post resp Err(reqwest::Error { kind: Builder, source: "JsValue(ReferenceError: Headers is not defined\nReferenceError: Headers is not defined\n    at /Users/Project/dev/tss-wasm/pkg/tss_wasm.js:549:17\n    at handleError (/Users/Project/dev/tss-wasm/pkg/tss_wasm.js:438:18)\n    at module.exports.__wbg_new_4cba26249c1686cd (/Users/Project/dev/tss-wasm/pkg/tss_wasm.js:548:65)\n    at wasm://wasm/008f18ba:wasm-function[1139]:0xf66ee\n    at wasm://wasm/008f18ba:wasm-function[100]:0x5c0d0\n    at wasm://wasm/008f18ba:wasm-function[177]:0x8e261\n    at wasm://wasm/008f18ba:wasm-function[276]:0xae7df\n    at wasm://wasm/008f18ba:wasm-function[822]:0xebae7\n    at wasm://wasm/008f18ba:wasm-function[601]:0xdbb8a\n    at wasm://wasm/008f18ba:wasm-function[1258]:0xf7cef)" })
    
    opened by eigmax 1
Owner
Eigen Labs
Where make transaction secure and private for Web3.0, powered by zk-zkRollup
Eigen Labs
CO-RE binding generation for Rust, based on BTF

rust-struct-bindgen Here the repo of rust-struct-bindgen, a rust source code generator to read & write native structs with BTF. There are three crates

eunomia-bpf 3 Apr 21, 2023
Facilitating high-level interactions between Wasm modules and JavaScript

wasm-bindgen Facilitating high-level interactions between Wasm modules and JavaScript. Guide | API Docs | Contributing | Chat Built with ?? ?? by The

Rust and WebAssembly 5.9k Jan 8, 2023
Instrument and transform wasm modules.

wasm-instrument A Rust library containing a collection of wasm module instrumentations and transformations mainly useful for wasm based block chains a

Parity Technologies 31 Dec 16, 2022
Parametric surfaces drawn using the Rust + WASM toolchain with WebGL, React, and TypeScript.

Parametric Surfaces in the Browser My.Movie.3.mp4 Wanted to experiment with WebGL using the Rust + WASM toolchain, with React and TypeScript to glue e

Benji Nguyen 45 Oct 21, 2022
Rust implementation of the Mina protocol, targeting Wasm and ARM architectures.

Mina-rs An implementation of Mina protocol in Rust, with focus on web and Wasm compatibility ** As you can probably tell this is a WIP! Don't use for

ChainSafe 157 Dec 12, 2022
WASM bindings for React - enables you to write and use React components in Rust

This library enables you to write and use React components in Rust, which then can be exported to JS to be reused or rendered.

Yichuan Shen 55 Dec 24, 2022
Lunatic based webserver embedding WASM. Supports scaling down to zero and up to infinity.

Frenezulo A WASM-embedding webserver build on top of submillisecond and lunatic. Build to serve as an entry point for microservices compiled to WASM.

Kai Jellinghaus 13 Oct 23, 2022
Spine runtime for Rust (and wasm!) transpiled from the official C Runtime.

rusty_spine Spine runtime for Rust (and wasm!) transpiled from the official C Runtime. Supports Spine 4.1. [dependencies] rusty_spine = "0.4.0" Onlin

jabu 12 Dec 17, 2022
zzhack-cli is a Command Tool to help you quickly generate a WASM WebApp with simple configuration and zero code

English | δΈ­ζ–‡ζ–‡ζ‘£ zzhack-cli is a Command Tool that can help you quickly generate a WASM WebApp with simple configuration and zero code. It's worth menti

null 17 Feb 9, 2023
πŸ“¦βœ¨ your favorite rust -> wasm workflow tool!

?? ✨ wasm-pack Your favorite Rust β†’ Wasm workflow tool! Docs | Contributing | Chat Built with ?? ?? by The Rust and WebAssembly Working Group About Th

Rust and WebAssembly 4.8k Jan 5, 2023