Skip to main content
7 votes
Accepted

Phantom wallet error - Transaction expired

This error most commonly results from a network mismatch between the wallet and the dapp. For instance, if you are developing a dapp on devnet, Phantom will also need to be set to devnet. If it is set ...
Brian Friel's user avatar
5 votes

My recovery phrase is not working. How can I restore my wallet?

First up: Don't give your passphrase to anyone else, even if they claim to be helping you. I had a similar situation. It turns out I misread my own handwriting, and put in a different word (in my case ...
mikemaccana's user avatar
  • 2,091
4 votes
Accepted

Phantom Wallet question

Correct. For security purposes, Phantom only injects its provider into websites that begin with https://, or if the host is localhost or 127.0.0.1. Encrypting your web traffic and upgrading to https://...
Brian Friel's user avatar
3 votes

I am using phantom wallet and trying to sign typed data

it looks like you have some Ethereum addresses in that message you're signing. Could you please confirm if you're trying to sign a message on Solana? If so, could you please double check that you are ...
Brian Friel's user avatar
3 votes
Accepted

When importing wallet by mnemonic phrase, how can I check whether it is correct or not?

try something like: if(bip39.validateMnemonic("test test test....junk") === true) { // do things }
spaghetti's user avatar
  • 321
3 votes

I want to add metadata to the Solana token on cli

Token metadata on Solana is normally all handled via the Metaplex Metadata standard. For both fungible (regular SPL tokens) and non-fungible tokens (NFTs). So unfortunately, you cannot use the regular ...
nickfrosty's user avatar
  • 1,058
3 votes
Accepted

When importing a mnemonic phrase into a phantom app, the wallet addresses do not match

In case someone encounters the same problem, I will leave an answer to my question. The problem is that phantom find first key derivation along the path m/44'/501'/0'/0'. To get a wallet with the same ...
Leo Loki's user avatar
  • 392
3 votes

how to make your dapp (frontend application) trustable for solana transactions

For phantom wallet try using this: Change your dApp to use the signAndSendTransaction method. Information about this method can be found here: https://docs.phantom.app/phantom-deeplinks/provider-...
Mr. J's user avatar
  • 146
2 votes
Accepted

Why did I get access to the wallet?

The wallet algorithms work that way, that from a given seed phrase they always create the same set of addresses (accounts) where you store cryptocurrency or tokens. At the same time, the wallet will ...
Doublers Kay's user avatar
2 votes

where and how to find info about airdropped tokens on phantom

You can view the token on Solscan by clicking in the top right corner when viewing the token in Phantom. From there, you can see how people are interacting with it. If you see loads of burns, it's ...
Jon C's user avatar
  • 15.8k
2 votes
Accepted

Connect Phantom Wallet on Page Load with solana-wallet-adaper

You have to add autoConnect in your <WalletProvider .. > <ConnectionProvider endpoint={endpoint}> <WalletProvider wallets={wallets} autoConnect> &...
vicyyn's user avatar
  • 4,095
2 votes
Accepted

Can't send or swap crypto

If you only have USDT in the wallet and no SOL, you won't be able to send transactions because you don't have any SOL to pay the transaction fee. Transfer a small amount of SOL to your wallet and then ...
john's user avatar
  • 7,467
2 votes

Facing Problem while connecting the Phantom wallet

We faced this issue while using Phantom wallet and this was one of the major reasons we switched to Solflare. It so happens that this stores the wallet in the cookies and it is already connected as ...
Tushar Sahoo's user avatar
2 votes

Is phantom wallet provides hooks

It seems like you are looking for Solana Wallet Adapter. You can easily add wallet connect feature using the Solana wallet adapter and it includes all popular wallets like Phantom, Solflare, Backpack, ...
Syed Aabis Akhtar's user avatar
2 votes

Signature Mint on Solana for update metadata

To ensure that the owner of a particular NFT is the one interacting with your frontend you need to complete these steps: Learn their public key Assert that the owner of the NFT matches that public ...
steveluscher's user avatar
  • 2,455
2 votes

How do I recover deleted accounts on my Phantom wallet?

For assistance with using Phantom please contact Phantom Support from Settings > Help & Support within your Phantom app or extension.
Adam's user avatar
  • 39
1 vote

"Unexpected error" when trying to create a mint account on React

You need to sign with the keypair of the new account, but this code just throws away the new keypair. You can instead do: let newAccount = Keypair.generate(); // Create a transaction ...
Jon C's user avatar
  • 15.8k
1 vote

My recovery phrase is not working. How can I restore my wallet?

For assistance with this please contact Phantom support via Settings > Help & Support in your Phantom wallet app or extension.
Adam's user avatar
  • 39
1 vote

Cryptocurrency wallets

Each wallet is a bit different, best way to really see the difference is trying them for yourself. There are many wallets that are popular on solana for different types of users. Check out Solflare, ...
Truitt's user avatar
  • 519
1 vote
Accepted

How is backend supposed to capture a frontend wallet transaction?

You can get the Transactions and it's to/from hashes, and lamports exchanged yourself (without third-party providers) easily via getSignaturesForAddress (via @solana/web3.js) You can query the public ...
1owk3y's user avatar
  • 121
1 vote

How is backend supposed to capture a frontend wallet transaction?

How about the Webhooks that helius.dev provides? Here's a blogpost about building a simple wallet tracker: https://www.helius.dev/blog/build-a-wallet-tracker-on-solana. Your backend could be notified ...
pepeIKO's user avatar
  • 396
1 vote

How is backend supposed to capture a frontend wallet transaction?

Alchemy have webhooks to get real time notifications. You can setup a custom webhook and capture the transaction data. https://docs.alchemy.com/reference/notify-api-quickstart
ashish250990's user avatar
1 vote

Transaction expired

without the code its a bit hard to tell, but if you use wallet adapter it maybe smth like this: <ConnectionProvider endpoint={endpoint}> Where the endpoint is the cluster url. Could also be ...
Jonas H.'s user avatar
  • 5,777
1 vote

I want to add metadata to the Solana token on cli

We can use @metaplex-foundation/js. Please check the guide. You have to use createCreateMetadataAccountV3Instruction instead of using createCreateMetadataAccountV2Instruction .
Doublers Kay's user avatar
1 vote

Why does a "bad format" error occur when importing a key into phantom app?

dereviation paths are handled a bit differently in different wallets. Looks like the one you created wasnt compatible with the phantom deriviation path maybe. SolAndy did a video on it in case you ...
Jonas H.'s user avatar
  • 5,777
1 vote

Why does a "bad format" error occur when importing a key into phantom app?

It's still a mystery to me why the code in my question generates an invalid key pair when generated from a mnemonic phrase. If you know why my code in the question creates an "invalid" ...
Leo Loki's user avatar
  • 392
1 vote

Phantom wallet error - Transaction expired

The problem was that the app was set to use devnet, and Phantom wasn't. I needed to change the network connection within Phantom's settings (Developer Settings -> Change Network). Thanks to Brian ...
pepeIKO's user avatar
  • 396
1 vote

Transaction simulation failed: Error processing Instruction 0 - An account required by the instruction is missing

The error An account required by the instruction is missing generally means that the program (in this case, it seems to be the code around simulating the transaction here at https://github.com/...
chalda's user avatar
  • 1,207
1 vote

Transaction simulation failed: Error processing Instruction 0 - An account required by the instruction is missing

You need to format your question, otherwise it's impossible to read. Also, only providing the error it's hard to understand what is happening. Example: console.log('this is a piece of code formated') ...
Miguel's user avatar
  • 36
1 vote

Handle error on transaction request

You can catch the error and parse it. example try { // send transaction } catch(e) { if (e.message.contains('insufficient fund')) { toast('insufficient fund') } }
vicyyn's user avatar
  • 4,095

Only top scored, non community-wiki answers of a minimum length are eligible