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

Sign and verify messages using sr25519 and ecdsa keypairs #357

Closed
4 tasks done
Tracked by #353
justkawal opened this issue Nov 7, 2023 · 0 comments · Fixed by #404
Closed
4 tasks done
Tracked by #353

Sign and verify messages using sr25519 and ecdsa keypairs #357

justkawal opened this issue Nov 7, 2023 · 0 comments · Fixed by #404
Assignees

Comments

@justkawal
Copy link
Collaborator

justkawal commented Nov 7, 2023

Tracking issues for support Sr25519 and ECDSA schemes:

Currently there's no Sr25519 equivalent library in Dart, limiting polkadart to ED25519 and ECDSA keys.
The polkadot-api javascript implementation also uses the rust code compiled to webassembly @polkadot/wasm-crypto.

Unfortunately we cannot assume a webassembly container in dart, which left us with two options:
1 - Implement Flutter and Dart native bindings (it still doesn't work for web targets).
2 - Rewrite schnorrkel in dart (very slow and unsafe, as dart doesn't provide memory safety that rust does).

  • Support Sr25519 key derivation
  • Support Sr25519 signed extrinsics
  • Support ECDSA key derivation
  • Support ECDSA signed extrinsics
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

Successfully merging a pull request may close this issue.

2 participants