question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Create signature (type Signature or Sr25519Signature)

See original GitHub issue

Please tell me how to create signature (type Signature or Sr25519Signature).

let sig = api.registry.createType("Signature", alice.sign(message))
let sig = api.registry.createType("Sr25519Signature, alice.sign(message))

above two code does not work.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
thashimoto1998commented, Jul 21, 2020

It worked. Thank you.

0reactions
polkadot-js-botcommented, Jun 4, 2021

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query.

Read more comments on GitHub >

github_iconTop Results From Across the Web

EdDSA and Ed25519 - Practical Cryptography for Developers
EdDSA (Edwards-curve Digital Signature Algorithm) is a modern and secure digital signature algorithm based on performance-optimized elliptic curves, ...
Read more >
A Deep dive into Ed25519 Signatures - Cendyne.dev
Generating our own Ed25519 key​​ To create a signature, we require a private key. I obviously do not have the private key of...
Read more >
Signature in ed25519 - Rust - Docs.rs
Ed25519 signature. ... DEPRECATED: Create a new signature from a byte array. ... Converts this type into a shared reference of the (usually...
Read more >
Ed25519
Ed25519 is a public-key signature system with several attractive features: Fast single-signature verification. The software takes only 273364 cycles to ...
Read more >
Ed25519 Signature Schemes: Theory and Practice - YouTube
[Full Presentation] Ed25519 Signature Schemes: Theory and Practice. ... How To Generate Ed25519 SSH Keys, Install Them, and Configure Secure ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found