I am trying to understand what happens under the hood when we call window.solana.signMessage.
What is the algorithm Phantom Wallet (Solana) uses to sign messages?
1.5k views Asked by Dheeraj Pb At
1
There are 1 answers
Related Questions in CRYPTOGRAPHY
- Secure Messaging Implementation in C#
- How to verify JWS (x5c chain) is signed by apple using Jose
- How to Safely Use Crypto.subtle Property for Local Testing Without Security Risks?
- OpenSSL3.0 RSA Signature Verification in C
- npm install tulind in my crypto server side
- how i need place arg in code for funtion send?
- Mbed TLS: in-place en-/decryption for OAEP doesn't seem to work
- Cannot test cryptographic performance using crypto_aesni_mb
- Installation Private Blockchain
- Encountered this error while implementing NTT cpp code: terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc
- Cryptography Notion - Diffie-Hellmann
- Hash password with another password
- How to convert CryptAcquireContext to .NET 8 using System.Security.Cryptography methods
- Error "Cannot find module 'crypto'" in WalletConnect module
- Why do some cryptographic signature npm packages (like superdilithium) convert text to an array of integers before signing?
Related Questions in SIGNING
- Windows Driver signing: Do I need EV or simple certification
- How can I sign aab with certificate file
- XML sing URI Reference only alphanumeric
- iOS PDFKit Cryptograhpic Signature
- Validating a webhook signature AND using the body in NextJS
- Error in publishing maui ios app because Code signing must be enabled to create an Xcode archive
- how can i change (sign out) my github account
- BouncyCastle Error "Unable to cast object of type 'Org.BouncyCastle.Asn1.DerSequence' to type 'Org.BouncyCastle.Asn1.DerOctetString'
- The "SignName" property of class PdfPKCS7 always return null in Itext 5.5.13.2 using the C#
- How to get the B-LTA in Itext 5.5.13.2 using the C#
- Unable to install App on real device or distribute it ad hoc, normal on Simulator
- opening docusign envelope for signature is showing custom fields
- Intermitent "The signature key was not found" error
- public key signing - why this is not advisable
- import com.firebase.ui.auth.AuthUI not working
Related Questions in SOLANA
- invalid transaction: Transaction failed to sanitize accounts offsets correctly
- Solana openbook-dex createMarket script
- Solana SendTransactionError 0x16
- please solve my solana wallet's hacking issues
- How to Mint a Fungible Token with Metadata on Solana using @Solana/web3.js
- Could not build idl using anchor
- How to convert a constant into a ProgramError type in Rust/Anchor when returning in a function?
- How do I speed up transaction filtering on solan blockchain?
- "No data" after sending tx Jupiter Swap Python
- Add Solana Network to Wallet Connect Web package
- Raydium CLLM pool not showing up after 4 days
- get transactions/logs from different program, on a span of blocks
- How do I modify this SPL create token code to use the non transfereable and interest bearing extension using Metaplex
- error: could not find `solana-cargo-build-sbf` in registry `crates-io` with version `=1.19.0`
- Solana add instructions to VersionedTransaction in python
Related Questions in PHANTOM-WALLET
- Solana Private key with 87 characters
- About solana web3 minting Token with phantom wallet
- How to specify Metaplex NFT collection image in Phantom wallet
- What is the algorithm Phantom Wallet (Solana) uses to sign messages?
- Debugging "Transaction simulation failed" when sending program instruction (Solana Solidity)
- Phantom wallet: Solana transactions debug
- Uncaught (in promise) ReferenceError: Buffer is not defined. Using Phantom Wallet, Solana and React to make a transaction
- how to verify the signature of a message in phantom solana?
- Solana - How to get the balance from my Phantom wallet?
- What standards does Phantom Wallet use for mnemonic to keypair generation?
- Phantom wallet Integration with React Native
- Uncaught (in promise) Error: Transaction fee payer required
- Signature verification failed When transferring spl-token to user connected phantom wallet
- How to transfer NFT spl-token using phantom wallet and solana web3js
- How to connect Phantom wallet to a Flutter app using deep links?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Solana uses the ed25519 curve for its cyrptography, so a transaction signature is:
The actual code called is
tweetnacl'ssign.detachedfunction.More information at the official docs: https://docs.solana.com/terminology#signature
The Solana transaction sign code: https://github.com/solana-labs/solana/blob/2a5764ef79cff391da080cc19617f171109c4158/web3.js/src/transaction.ts#L522
The underlying tweetnacl code: https://github.com/dchest/tweetnacl-js/blob/971d653d301cff2dd694e95a099cb42d9201e922/nacl.js#L1076