đź‘» [Plugin] Phantom - Solana Wallet by EzCode

plugin_phantom Phantom - Wallet for Solana blockchain
Phantom is a wallet and browser extension that can be used to manage digital assets and access decentralized applications on the Solana blockchain.

Main Features

  • Connect/Disconnect Wallet
  • Get Wallet Address
  • Sign a Message
  • Send Transaction (Used as a payment method )
  • Get SOL Balance
  • Get Token Account Balance

Install Phantom Wallet from the official site

https://phantom.app/

Watch a tutorial on how Phantom Wallet works

https://www.youtube.com/watch?v=BPqreO0UaZY

What is Solana and its ecosystem

https://www.youtube.com/watch?v=PA1kA5yT1Ac


Main Demo: https://phantom-wallet.bubbleapps.io/version-test
Marketplace: Phantom - Solana Wallet Plugin | Bubble


Related plugins:


Feel free to contact us for any inquiries and we’ll be happy to find a solution for your ideas.

3 Likes

This is awesome! Great advancement for the Bubble community and one step towards brining Blockchain to maintstream in no code development. I do have one question. Does this support the Transfer of NFT transfers between Wallets? I assume this is just the integration to Phantom and the plugin retains the Phantom infrastructure which would support NFTs. Is that correct?

1 Like

Not yet, we are working on it, will be added soon.

1 Like

Awesome. Thank you that would be huge. Also for NFT marketplaces, will this wallet integration have the ability to add marketplace fees to transactions on marketplace?

1 Like

So cool. A few questions:

  • When will you provide swapping?
  • I see info for an auto-approve, what is that?
  • When a user navigates away from our app (exits browser entirely) does it still establish a connection?

It will work the exact same way it works with other apps that uses Phantom wallet. Have you ever used one? Because if you did, you would know how it works.
You can play around with the demo page and see what it will do :slight_smile:

What I meant was the ability to control these features from bubble. i.e. prompting a swap automatically. It’s a unique ask, not sure if it’s possible.

Just curious - Are you also working on something similar to the RaribleSDK plugin, to allow users to Mint NFTs on Solana?

This is in our roadmap. But not our priority right now.

Hello @ezdev ,
Any news with the NFT transfers between Wallets integration ?

Thank you so much !

1 Like

Id be curious to hear about this as well. Definitely could use capability to pull NFT image into bubble application, along with initiating NFT transfers while in bubble app.

Hi does this plugin support pulling NFT token information from Phantom wallets? Ideally just a list of tokens that are held in the wallets.

So I read below and I could be wrong, but having this plugin give us access to have Solana minting sites is not possible right now, but on the roadmap, and not a priority? Just making sure, this will “not” atm give us minting features?

I see that this plugin supports sending a transaction.

Two questions:

  • Can you retrieve the signature of that transaction?
  • Can you designate a custom token to send (i.e. USDC instead of SOL)

Sure, I will add this in the next update.

Yes, I’m working on it.

Update v.1.1.0

  • New state: Transaction signature
  • New state: Signed signature
  • Fixed a bug that was that was showing that the Phantom Wallet is not installed.

Awesome update, Thank you for adding the transaction signature so fast.

Excited about custom token support for transactions. Adding that makes this an extremely viable solution for e-commerce solutions.

2 Likes

@ezdev Hey Andrew,

I just tried the test version and it looks like it cannot find my MIKI tokens.
I created SPL tokens for my app. The token address is F9ZDLuTiRJwrmeP5zystepNofya4CvDpWpoVkbZbZwi1. But when I enter the token address I don’t receive the balance as a result.

Is this normal?

Thank you,
Fabien

@ezdev additionally, can you confirm that we can transfer any SPL tokens from one wallet to another?

Merci Andrew!

You do not query the token contract address to find SPL balance using this plugin.

You query the program account within the wallet itself. On Solana, each SPL token within a wallet has a separate address. Most users don’t know or interact with these addresses since UX is good enough to allow send/receive to the overall wallet pubkey “address”.

  • Open Phantom Wallet
  • Go to the specific token you wish to query
  • Click “three dots” drop down
  • View on Solscan

That address is what you use to query the balance.

2 Likes