Questions tagged [phantom]

Phantom wallet plugin for browsers

Filter by
Sorted by
Tagged with
2 votes
2 answers
18 views

Phantom wallet error - Transaction expired

I'm trying to submit a transaction on my app, which works with different wallets such as Solflare, but if I try to use Phantom I always get the error message: You waited too long to approve the ...
  • 138
0 votes
0 answers
22 views

Weird Phantom Error

Phantom gives this error when I tried to sign my transactions but the weird thing is I have exactly the same solana program and tx structure for different websites and it works with no problem is it ...
  • 1
1 vote
1 answer
58 views

Phanton Wallet - Get recent blockhash

I was using React native and the example provided by Phantom: https://github.com/phantom-labs/deep-link-demo-app/blob/20f19f2154e98699f0d5a6b28bc4bb3d5acbcefd/App.tsx const createTransferTransaction =...
0 votes
0 answers
15 views

How to read an account state without needing Phantom wallet provider?

I create an instance of a Program in the following way and try to read accounts from the program instance. const network = clusterApiUrl('devnet'); const connection = new Connection(network, "...
4 votes
1 answer
37 views

Phantom mobile app fails silently when interacting with new Mobile Wallet Adapter?

I upgraded to latest version of https://github.com/solana-labs/wallet-adapter in order to use the Mobile Wallet Adapter in Android devices. AS the time of writing this, the only wallets that have ...
  • 61
1 vote
1 answer
42 views

Why send account creation instruction with method? + how to do it in frontend with multiple signers?

Hi I'm studying this often cited custom token escrow program on Anchor in order to create something like it with a frontend. My question is about the creation of the EscrowAccount. (Account that ...
  • 25
2 votes
1 answer
53 views

Phantom: WalletSendTransactionError: Something went wrong nextjs

Code works in dev version In production: Error description: Phantom - RPC Error: Something went wrong. {code: -32603, message: 'Something went wrong.'} In server side: const { blockhash } = await (...
1 vote
1 answer
19 views

Receive Unknown?

When customers go to my NFT project to claim/buy an NFT, wallet shows "Receive Unknown" (image from phantom extension attached). What should I do to have the name of the NFT pop up on ...
  • 21
2 votes
1 answer
69 views

Phantom - RPC Error: Something went wrong -32603

I try to sign a text and I get this error. const anchorWallet = useAnchorWallet(); const MEMO_PROGRAM_ADDRESS = "MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr"; const MEMO_PROGRAM_ID = new ...
1 vote
0 answers
12 views

How to call executeSale function by seller with metaplex js?

I am facing an issue when executing sale with seller's wallet. It works well with buyer's wallet. How can I fix this issue?
2 votes
1 answer
21 views

I have different Solana balance and address with the same backup phrase imported to Phantom and TrustWallet

How is that possible? the question is descriptive enough, but to give more context here is some history: I had my backup phrase from an old multi-chain crypto wallet provider. I imported that into my ...
0 votes
1 answer
151 views

Transaction expired inside Phantom wallet

Has anyone experienced this "Transaction expired" issue inside Phantom and knows how to fix it? Im trying to make a transaction in my local environment, and it used to work.
  • 361
1 vote
2 answers
33 views

Fake token for Phantom app on mobile (devnet)

Hi I am developing a mobile dapp. Everything seems to be on the right track however I need fake tokens on my Phantom app (devnet) to test my app. My application is not complete yet, I think need more ...
1 vote
1 answer
20 views

Phantom app Picture

Not really a tech question, but how can I set a custom icon in phantom Browser ?
  • 360
1 vote
3 answers
39 views

How do i convert the phantom mnemonic

How to convert a mnemonic from phantom i.e: 'some words that are secret ...' Into the following format: [ 118, 72, 137, 65, 79, 174, 185, 29, 222, 164, 107, 111, 226, 137, 150, 19, 162, 10, 56, 231, 5,...
0 votes
1 answer
46 views

How to connect wallet to the dapp within the iframe?

I need to connect the dapp within the iframe. When I click on the connect wallet, it is not connecting within the iframe. How can I connect the dapp within the iframe ?
  • 91
0 votes
2 answers
33 views

Solana Flutter create transaction for phantom /signAndSendTransaction deeplink

I want to fund another user's wallet (let's say I have their public wallet address in my code) from my phantom wallet using a Flutter app. Now I can use the /connect deeplink of Phantom in a Flutter ...
0 votes
1 answer
38 views

Phantom deep link not openable on a browser

When I try to open a deep link in the browser to be able to sign the transaction with this format: https://phantom.app/ul/v1/signAndSendTransaction, this is the error I get: -32603 Failure to decrypt ...
0 votes
0 answers
7 views

Can I change the transaction object by phantom wallet events on sending the transaction

I have to change the transaction object which is going to execute on the dapp so, need to get the transaction object whenever the transaction is going to execute through phantom wallet. Are there any ...
  • 91
0 votes
0 answers
6 views

Can I change connection of wallet address to multisig address through out the app using phantom wallet events?

Can I change connection of wallet address through which the dapp is connected to the multisig address of that user. And need to get all of its balance through multisig address and all the web3 ...
  • 91
4 votes
1 answer
117 views

Access Phantom account with Solana CLI

I have created a Solana account with Phantom App. How can I access my Phantom account details and balance via through Solana CLI? Please list down all the libraries also required for it.
  • 107
1 vote
1 answer
17 views

How do I send Solana balance from command prompt to Phantom wallet?

im tryna send my solana balance on Command Prompt to my phantom wallet? can anyone help ?
1 vote
0 answers
54 views

Phantom Wallet blocking transactions that fail to simulate

Phantom seems to be completely blocking off transactions that are expected to fail on simulation. This is problematic for when trying to chain transactions where we want users to sign only once, but ...
  • 41
0 votes
0 answers
10 views

Asset Transfer Notification in Phantom

When you invoke a function that transfers assets like SOL away from your wallet this is not included in the transaction notification of Phantom. The Phantom notification actually claims No changes ...
1 vote
1 answer
38 views

Detect account switching in Phantom Wallet?

What is the best way to detect account switching in Phantom Wallet? I am using Nextjs.
1 vote
1 answer
28 views

Transaction cost not showing on Phantom

For a couple of weeks now, I find the message "No changes impacting asset ownership found" in my Phantom wallet for every transaction with Solana Devnet. The transaction result is Succesfull ...
0 votes
0 answers
23 views

Severe latency in Solana web3 app WebSocket call

I'm working on a Solana web3 app using the @solana/wallet-adapter-react package. The function calls a contract that modifies some accounts. It then takes the transaction ID, awaits confirmation, (with ...
  • 1
1 vote
2 answers
67 views

How do I transfer Solana from any wallet using web3.js?

I'm struggling to find any working examples that are not deprecated. If anyone can direct me towards any that would be great. For learning purposes I want to setup a button that will send 1 Solana ...
3 votes
2 answers
82 views

Unable to call Phantom Deeplink /disconnect endpoint in Flutter mobile app

I want to make a Flutter application that can connect to Phantom wallet and then work on transactions and messages. I was able to figure out the connection part, but I am unable to make the ...
0 votes
0 answers
25 views

Issue with phantom wallet simulation

Hello I am trying to process a multiple signed transaction. The first transaction uses Jupiter route and converts sol to tokenA The second txn then converts this tokenA to TokenB using a TBC swap. The ...
0 votes
1 answer
97 views

Phantom wallet not enough sol

Edit: this has now been resolved itself, seems like phantom had an issues with devnet infrastructure. The next bug is Unable to Simulate transaction warning on Phantom Wallet (browser, devnet) I am ...
  • 159
3 votes
2 answers
358 views

Unable to Simulate transaction warning on Phantom Wallet (browser, devnet)

I have not changed anything in my code that used to run without this error. The transactions, once approved, still work fine. The warning I get from phantom wallet is: Unable to simulate. Make sure ...
  • 152
6 votes
1 answer
114 views

Phantom iOS cannot simulate Solana Pay QR code

I have contacted Phantom support and was told to post here. I'm trying to get Phantom iOS to read Solana Pay QR codes to approve transactions. Phantom reads the QR codes but says that it is unable to ...
  • 81
0 votes
1 answer
149 views

What is the best practice to sign and send multiple transaction at once in solana with one popup of phantom wallet?

What is the best practice to handle multiple transaction to sign and send at once with one popup of phantom wallet ?
  • 91
4 votes
2 answers
119 views

Verify a ed25519 signature in Smart Contract

I'd like to sign a message via Phantom (How to verify a signature from the Phantom wallet?), and then have a smart contract verify the signature of the message to be from the correct public key. From ...
  • 83
5 votes
3 answers
58 views

What is the actual format of a Solana wallet address?

This is a newbie question. Such as address like - zGmof8SeyvHKnSEWv4i2mVv7MYe85D3zZqsTBjsKXSV Is it base64?
0 votes
0 answers
6 views

Uncaught SodiumException: Wallet address must be CRYPTO_SIGN_PUBLICKEYBYTES long

I'm using Phantom to sign a signature and using my backend to verify the signature. I understand from here that Ed25519 is the signature system used on Solana. So, I'm using this library. I'm using ...
0 votes
1 answer
14 views

QR reader in Phantom doesn't deeplink to in-app browser

I read this and it says, Using their phone’s camera, users can scan a QR code to open a page directly within Phantom’s in-app browser. If a web app detects that a user is on mobile, it can also ...
4 votes
2 answers
54 views

SPL token image not showing in Phantom wallet

Does anyone uploaded metadata for a SPL token on the mainnet (https://api.mainnet-beta.solana.com) recently ? I uploaded the metadata, hosted on arweave both image and metadata json, but only the text ...
  • 53
0 votes
1 answer
38 views

How to output signed message as a string from Phantom wallet

I'm following this code from Phantom doc. const provider = getProvider(); const message = "To avoid digital dognappers, sign below to authenticate with CryptoCorgis"; const encodedMessage = ...
4 votes
1 answer
45 views

Phantom's estimation feature shows my fungible token as NFT?

The issue came when I deployed my token and my program in Solana devnet. Specifically, I utilized metaplex to deploy the fungible token called Lamas Finance (LMF), whose token standard is Fungible and ...
1 vote
1 answer
32 views

How to convert a Phantom signature to string in order to pas it via API?

I have a signature from the Phantom wallet in the Uint8Array format which I receive in the following way. const encodedMessage = new TextEncoder().encode("sign me please"); const ...
2 votes
1 answer
72 views

How to verify a signature from the Phantom wallet?

I am able to sign a message on the client side using something like this: const encodedMessage = new TextEncoder().encode("some message"); const signedMessage = await provider.signMessage(...
0 votes
1 answer
36 views

Transaction fails on Phantom wallet but succeed on-chain

I developed a program that mints nfts. I added in the UI the possibility of minting more than one nft at once. To accomplish this I create a transaction for each nft that the user wants to mint. Each ...
0 votes
1 answer
28 views

How to show "Estimated Balance Changes" (transaction may fail to confirm) for anchor program

I am trying to send a transaction that consists of: SOL transfer Anchor Program instruction Although, for the "Estimated Balance Changes" part of Phantom Wallet, it will always say "...
  • 361
3 votes
2 answers
55 views

How to covert phantom wallet secretKey to Uint8Array length 64

I want to encode my secretKey to Uint8Array. I use TextEncoder(). const secret = new TextEncoder().encode(secretKey); I get secretKey from my phantom wallet. it returns Uint8Array which is length 88. ...
  • 111
1 vote
0 answers
49 views

Rename token which is in token list [closed]

i have created a token thru the old token list github repo. I need to update the name. I tried with strata (which worked for another token !), but it's not updating (metadata is properly updated, but ...
0 votes
2 answers
87 views

Phantom wallet extension not detected using @solana/wallet-adapter-react

i'm currently building a react-native webapp. My phantom wallet extension network is changed to 127.0.0.1:8899, but the app seems to not be able to detect the phantom wallet itself. Would appreciate ...
  • 31
8 votes
1 answer
86 views

unable to fetch balance changes Solana Wallet Adaptor

On minting single or two NFTs phantom wallet shows the balance that will be detected before signing Tx but on multiple mint more than 2, it will show msg "unable to fetch balance changes" ...
1 vote
1 answer
61 views

How to make token logo appear consistently in Phantom?

I have created a token. The mint is a PDA, so I had to add the metadata from within the Rust code in my Program, calling Metaplex's MetadataProgram. This has been a long and rocky journey, but I ...
  • 2,121