Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Phantom on mainnet mode successfully signAndSend transactions while app is using a testnet #971

Closed
phoenixVS opened this issue May 22, 2024 · 1 comment

Comments

@phoenixVS
Copy link

phoenixVS commented May 22, 2024

When Phantom on mainnet mode and app is using test- devnet, you can sign
and send transactions with wallet using signAndSendTransactions and it even returns
some transaction hash which is not present in solscan

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://lab.web3modal.com/library/solana/
  2. Disable testnet mode in phantom and connect
  3. select test | dev net and run Sign and Send transaction (both V0 and legacy ones)
  4. You recieve a signature instead of thowing some error

Expected behavior
It should throw some error instead

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows
  • Browser chrome
  • Versions:
    "@solana/wallet-adapter-base": "0.9.23",
    "@solana/wallet-adapter-phantom": "0.9.24"

Additional context
(i.e. if you run devnet trx in testnet mode - it gives an error)

@jordaaash
Copy link
Collaborator

Please report issues with Phantom to Phantom. Also, using an adapter for Phantom generally won't be necessary, since it supports the Wallet Standard. If a transaction hash isn't found in an explorer, make sure you're using the same cluster in the app, wallet settings, and explorer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants