Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility of using with zilliqa-js-sdk? #28

Closed
csajedi opened this issue May 23, 2019 · 4 comments
Closed

Possibility of using with zilliqa-js-sdk? #28

csajedi opened this issue May 23, 2019 · 4 comments

Comments

@csajedi
Copy link

csajedi commented May 23, 2019

Hello,

I want to demonstrate TSS for Zilliqa and not sure about how plausible it is. I understand that it is now possible to compile Rust to webassembly and then it could be used in the same environments as the zilliqa-javascript-sdk. Is this presently practical to attempt or request? I am experienced with c/c++ but not rust or webassembly. How will developers use the TSS scheme with Zilliqa as it stands? There is no Rust sdk.

@omershlo
Copy link
Contributor

Hi!
a lot to unpack here,
the short answer is that it is very much possible and recently @oleiba have done something similar for binanace chain to connect tss to binance sdk : https://github.com/KZen-networks/binance-thresh-wallet
In fact what he did was just a minor example of what actually can be done: he defined rust api for two functions: key generation and signing, and wrote binding to call them from binance sdk (@oleiba correct me if I'm wrong).
The good news is that this repo contains all you need in terms of cryptography. The bad news is that this is all it contains.

btw, there is also a work in progress to have TSS on wasm - we started from ECDSA (check emerald-city) but now we know it will be possible for Schnorr sigs.

@omershlo
Copy link
Contributor

@talbeerysec / @oleiba do you plan to add support for zilliqa-js-sdk ? if you do can you estimate when? maybe @csajedi can help or you can help him ?

@csajedi
Copy link
Author

csajedi commented May 28, 2019

@omershlo thank you for your reply, I was in touch with Tal via telegram and he informed me that the goal is to integrate the Schnorr TSS found here into the Zilliqa-Javascript-SDK. Work has started and the hope is to finish it by mid-june.

@csajedi csajedi closed this as completed May 28, 2019
@oleiba
Copy link
Contributor

oleiba commented Jun 7, 2019

Hi @csajedi take a look at our forked version of Zilliqa JS SDK, it now supports two-party Schnorr signatures:
https://github.com/KZen-networks/Zilliqa-JavaScript-Library

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants