Questions tagged [phantom]
Phantom wallet plugin for browsers
81
questions
0
votes
2
answers
21
views
Automating Interaction with Dapp via code
I have multiple wallets with airdrop claims and I was wondering if theres a way to code this up instead of loading 100+ wallets into phantom and manually collecting one by one.
Is there a way to use ...
0
votes
3
answers
77
views
Proper way to integrate Solana's Wallet Adapter with Anchor and further questions
After spending some days battling to implement Phantom + Anchor I found out about Solana's Wallet adapter. I sighed in relief thinking the end was nigh but:
The the wallet adapter for Solana Apps is ...
0
votes
2
answers
38
views
Can we reset phantom wallet so only we have access?
I don't know how the hacker has access to my wallet because i checked and it was not connected to any scam website.
Now he just add funds to my wallet and drains me mostly on my sleeping time.
Is ...
1
vote
0
answers
26
views
I was robbed. Can anything be done about this?
I was robbed. I clicked on an unfamiliar nft in Phantom, went to some site where my wallet and the “log in” button were entered. I pressed login and the 1.8 Solana disappeared. Can anything be done ...
0
votes
1
answer
43
views
Account change listener is not working for phantom wallet
I am using this code given below in my react application to listen an account change event but facing issue as no response or error i am getting on changing account form phantom wallet .i have ...
0
votes
1
answer
41
views
WalletConnectionError: Unexpected error at StandardWalletAdapter._StandardWalletAdapter_connect
I am creating an app where I need to connect my wallet with Phantom for Solana.
Here is the public repo link for the code where I am getting this (WalletConnectionError: Unexpected error at ...
0
votes
3
answers
82
views
How is backend supposed to capture a frontend wallet transaction?
When I build a Phantom wallet integration (using these docs) on a page, it doesn't include the backend in the transaction at all.
How does the backend hear about that transaction? The back of house is ...
0
votes
0
answers
46
views
Solana wallets transaction failing in Flutter
I am using solana_wallet_adapter to launch any installed Solana wallet like Solflare & Phantom to approve a transaction to send SOL from the user's account to an address I've given.
Following is ...
1
vote
1
answer
50
views
Signature Verification Failed ( Decentralized Spotify Project )
I built a project on Solana by following this youtube tutorial by CleverProgrammer.
It is basically Decentralized Spotify. I completed the tutorial successfully. The project was working as expected. ...
1
vote
1
answer
119
views
Uncaught ReferenceError: process is not defined at node_modules/@solana/web3.js/lib/index.browser.esm.js
i'm using react, vite, @solana/wallet-adapter-wallets to connect phantom wallet but i stuck with this error:
Help me, thank you.
1
vote
1
answer
149
views
"Signature verification failed" error after signing transaction on the client using Phantom
I'm building a transaction on the server using Solnet:
var newTransaction = new Transaction();
newTransaction.RecentBlockHash = blockHash.Result.Value.Blockhash;
newTransaction.FeePayer = vaultAccount;...
4
votes
2
answers
91
views
How to disable Priority Fees in Phantom?
I have a dApp that stopped working with resent Phantom updates. The reason behind is that Phantom started adding Priority Fee instructions (two more instructions) to the transaction payload. In my ...
2
votes
1
answer
57
views
Phantom wallet extension URL?
I am currently developing a Unity game with a component in it that allows you to log in to the game using the Phantom Wallet extension. However, I have been unsuccessful in finding the Phanton Wallet ...
1
vote
0
answers
94
views
WalletSendTransactionError: Blob.encode[recentBlockhash] requires (length 32) Uint8Array as src
I have a code which is on NextsJs React code and runs when I run it with npm run dev,
But when I build it with npm run build followed by pm2 restart rps I get this error:
WalletSendTransactionError: ...
3
votes
2
answers
56
views
Why does a "bad format" error occur when importing a key into phantom app?
I use example in docs solana for python
I try get key pair and import to phantom by private key:
from solders.keypair import Keypair
from mnemonic import Mnemonic
mnemo = Mnemonic("english")...
0
votes
1
answer
213
views
"Failed to get assets" error message 2 weeks now
For 2 weeks now, I'm always receiving this error in my Brave browser version of Phantom wallet. Running W11.
The phantom app on iPad shows me no error, runs sans problems.
Have attempted the ...
1
vote
1
answer
54
views
Is it possible to send a transaction with phantom to an on-chain program with the purpose of modifying that program's data?
const [programDataAddress] = PublicKey.findProgramAddressSync(
[programId.toBuffer()],
BPF_LOADER_UPGRADEABLE_ID
);
const programDataAccountMeta: AccountMeta = {
pubkey: programDataAddress,
...
0
votes
0
answers
548
views
Error 0xbc4 / 3012 Failed to send transaction
I am getting this error when trying to connect to a Solana program that i've already deployed. I am using Node and Anchor, and I am using Phantom to sign the transaction. Everything works up until ...
0
votes
0
answers
72
views
Uncaught (in promise) WalletNotSelectedError in @solana/wallet-adapter
I use @solana/wallet-adapter for connect with phantom wallet.
I copied docs from @solana/wallet-adapter(https://github.com/solana-labs/wallet-adapter/blob/master/packages/starter/react-ui-starter/src/...
0
votes
2
answers
59
views
How to: add my Anchor wallet to Phantom
How can I export my Anchor's private key in order to import it on Phantom.
solana config get
Displays a Keypair Path but I'm not sure how to turn the byte array within into my private key.
0
votes
1
answer
45
views
NotEnoughKeys when deploying a txn (ReactJs/Typescript/Solana)
I have this code to transfer sol via a contract and via web3 in ReactJS -
const transferSol = async () => {
if (!publicKey) throw new WalletNotConnectedError();
const ...
2
votes
1
answer
43
views
Are there any wallets (phantom, solflare, etc) that can be integrated into an electron app and used to send transactions?
I am able to integrate Phantom and other wallets with my web-app using the @wallet-adapter. I am now trying to turn the web app into an electron app. Is it still possible to connect it to a software ...
2
votes
0
answers
69
views
Phantom transaction expired error on using durable nonce
phantom shows transaction expired error when using durable nonces . Looks like phantom isnt recognising the durable nonce in the recent blockhash and instead considering it as an old blockhash, ...
0
votes
0
answers
23
views
Where can I find diagrams such as Class Diagram and Sequence Diagram for Solano blockchain wallet just like Phantom wallet
I want to develop a Solano wallet just Like Phantom wallet, but I need the class diagram and other diagrams to start that
anybody can help me and told me where to find somethings like this?
0
votes
1
answer
85
views
Transaction working locally and with ngrok (https), but not working when deploying to aws amplify
const lamports = 0.001 * 10 ** 9;
const fromPubKey = new PublicKey(
'Wallet sending here'
);
const toPubKey = new PublicKey(
'Wallet receiving here'
);
const transaction = new ...
0
votes
0
answers
91
views
Phantom Wallet is displaying animated NFTs as greyed out images or static
We are currently testing animated versions of the Magnum AI NFTs on the google chrome browser!
Phantom wallet is displaying some of the GIFs with a grey image place holder or an outdated non-animated ...
1
vote
1
answer
206
views
Connect Phantom Wallet on Page Load with solana-wallet-adaper
I am using @solana/wallet-adapter with Next js
And on a particular wallet, I need the autoConnect on page load.
I would've gone with window.solana.connect() but it doesn't detect when the user ...
1
vote
0
answers
126
views
Phantom - RPC Error -32603 only on production?
I was following a guide on buildspace and the application worked perfectly. It was a Solana NFT minter working perfect with Phantom in localhost. But after I hosted it on Vercel, I started getting ...
0
votes
0
answers
372
views
Error: "Transaction simulation failed: Attempt to load a program that does not exist" when change program id
I learned about solana not long ago. I cloned deep-links-movie-tutorial and changed the program id to serve my project. However when I submit I get a message that cannot be simulated.
When I keep ...
0
votes
0
answers
36
views
Phantom app can't identify token from Solana Pay QR code transaction
I have a QR code generated with @solana/pay that represents a transfer request with an SPL Token (token address: K9fuM7y9SGgmydvREbdUe7GUMadXhUi7VzQk7Aiapcm). When I scan this QR code I receive an ...
3
votes
1
answer
226
views
What does `Failed to get account keys because address table lookups were not resolved` mean? [closed]
I have a transaction that works once building it using VersionedTransaction as well as legacy one.
const messageV0 = new TransactionMessage({
payerKey: payer,
recentBlockhash: blockhash,
...
1
vote
1
answer
55
views
Need help about web3.js and json rpc
Hello, I am trying to build a wallet using react native. I already completed Ethereum integration with web3 browser but I don't know how to do it with Solana?
How do solana wallets inject javascript ...
4
votes
2
answers
1k
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 ...
0
votes
0
answers
50
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
vote
1
answer
203
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 =...
1
vote
1
answer
62
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
263
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 ...
1
vote
1
answer
82
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 ...
3
votes
1
answer
162
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
0
answers
81
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 ...
3
votes
1
answer
265
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
17
views
How to call executeSale function by seller with metaplex js? [closed]
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
354
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
514
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.
1
vote
2
answers
102
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
38
views
Phantom app Picture
Not really a tech question, but how can I set a custom icon in phantom Browser ?
1
vote
3
answers
127
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
391
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 ?
1
vote
2
answers
134
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
2
answers
186
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 ...