Skip to main content

Questions tagged [wallet]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
9 votes
2 answers
354 views

How to bypass wallet approval and use the keypair on backend?

OK, Im trying to make transactions on backend(Nodejs). I want to make transactions that are made on the backend and want to store there as well(This parts easy). I just want to make sure, Because I ...
Syed Murtaza Ali Shah's user avatar
9 votes
1 answer
525 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" ...
Abdullah Qureshi's user avatar
6 votes
2 answers
201 views

Solana Mobile Dev [closed]

Is there any information on when dev handsets will be available for developers? I have registered for developer access during the reservation process where a deposit was paid.
JB Benjamin's user avatar
5 votes
3 answers
3k views

What is the actual format of a Solana wallet address?

This is a newbie question. Such as address like - zGmof8SeyvHKnSEWv4i2mVv7MYe85D3zZqsTBjsKXSV Is it base64?
ratib90486's user avatar
5 votes
3 answers
2k views

How do I export a wallet to a json file from a wallet provider like phantom or solflare to use in the Solana CLI?

How do I export a wallet from a provider like phantom or solflare that results in a json file that I can use with the Solana CLI?
DonnySolana's user avatar
5 votes
2 answers
234 views

Using ledger wallet to create Candy Machine

Metaplex docs says that I can create a new wallet with solana CLI to be used on CM creation. This is the command to set it as default wallet: solana config set --keypair ~/.config/solana/devnet.json ...
Lorenzo Vincenzi's user avatar
5 votes
1 answer
671 views

What method should a dApp use to detect a change in Wallet Network for any wallet supported in the Solana Wallet Adapter?

When building a Solana dApp, developers need to understand changes in both the active wallet for the current user and in changes to the selected network for that wallet. Changes to the active wallet ...
Wagg's user avatar
  • 183
5 votes
2 answers
960 views

Created a wallet through Solana CLI but given seed phrase points to different address

I created a new file wallet using: solana-keygen new --outfile ./new_wallet.json Output of this command shows a pubkey and a seed phrase to save. I tried to import this output seed phrase into a ...
curiosity's user avatar
  • 509
5 votes
2 answers
936 views

How to restore multiple keypairs from a mnemonic phrase using python?

solana-keygen recover 'prompt:?key=0/0' const mnemonic = "neither lonely flavor argue grass remind eye tag avocado spot unusual intact"; const seed = bip39.mnemonicToSeedSync(mnemonic, &...
user avatar
4 votes
2 answers
2k views

Solana address length

I thought Solana address length is fixed. My friend just managed to send funds to an address that was missing one letter at the end. And I can see both addresses on solscan. Does it mean they both are ...
user16047's user avatar
4 votes
3 answers
2k views

How can a wallet drainer work if I don't sign anything?

I know this question sounds very strange ! I think the best way to protect myself is to understand the risk. I've heard many times that we can have our wallets drained if connected to a malicious app. ...
Effe2's user avatar
  • 1,607
4 votes
1 answer
216 views

How do I track transactions on my wallet?

I am currently working on a Shop based which accepts Solana as the form of currency, I want to know which wallets are transferring funds to my wallet. How can I do that?
code-wolf-byte's user avatar
4 votes
2 answers
857 views

Why don't wallets auto-create an associated token account if one doesn't exist?

I have a fake USDC coin that I created on testnet. I minted 100 FUSDC to a token account belonging to Wallet 1. Then tried to send it from Wallet 1 -> Wallet 2 which also reside in my Phantom ...
itsfarseen's user avatar
4 votes
1 answer
139 views

Are wallet addresses "created" or are they "discovered"?

As I experiment and learn, I realized something that I wanted to confirm. It seems as though the network doesn't need to register the existence of a wallet in any way for it to become active and ...
OCDev's user avatar
  • 782
4 votes
1 answer
258 views

How to use an already existing wallet on the network?

I am trying to transfer some funds using my private key in Python. Here's the code but I don't know how I can use my existing phantom wallet's secret key to make the transaction. Here's the code, can ...
code-wolf-byte's user avatar
4 votes
1 answer
2k views

how are multiple wallets associated with a single seed phrase?

could someone explain how a seed phrase on can be used to generate / restore multiple wallets? I understand a the secret key is a public/private keypair, but how is a single seed phrase associated ...
john's user avatar
  • 7,794
4 votes
1 answer
99 views

Is there a rust crate for generating solana keypairs?

I'm looking for a lean rust crate to programatically generate Solana key pairs. Something like solana-keygen but as a library.
adamdelsol's user avatar
4 votes
1 answer
69 views

How to make a program instruction callable by a qrcode?

Just like @solana/pay did it. It’s possible to invoke an arbitrary transaction (for example a program instruction) using a QR code and scanning it for example from phantom mobile app?
Emberist's user avatar
4 votes
1 answer
158 views

How to convert a keypair to a wallet type? [duplicate]

I want to convert a keypair into a wallet type, So I can use that wallet to sign transactions on backend(Nodejs). How to do this ?
Syed Murtaza Ali Shah's user avatar
3 votes
2 answers
1k views

How to use the wallet standard?

I am switching my app from wallet-adapter to wallet-standard. Based on my reading, the wallets that support wallet-standard will be automatically detected. So I pass an empty array to the wallets ...
sohrab's user avatar
  • 1,851
3 votes
1 answer
682 views

How insecure are file system wallets

Are they more insecure than myself in my teens? What are the attack vectors? How easily can someone take a sneak peak onto my PC and search for keypair.json? If I'm not mistaken npm packages, VSC ...
Josip Volarević's user avatar
3 votes
1 answer
61 views

How to generate, save, importing a keypair into phantom with solana/web3.js v2?

Steven and John answered on how to generate and save a keypair using web3.js v2. -> see also: How to generate and save a keypair with solana/web3.js v2? I formatted the private key into base58 (...
jonasXchen's user avatar
3 votes
1 answer
638 views

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

I tested a code example for generating a mnemonic phrase and restoring a wallet using a mnemonic phrase from the official Solan documentation and a question arose. const mnemonic = "pill ...
Leo Loki's user avatar
  • 464
3 votes
1 answer
421 views

How to sign a message using Baclpack?

I want to sign an arbitrary data (eg. a string message) with Backpack and receive the signature as a result. How can I do it with backpack?
Sasha Shpota's user avatar
3 votes
2 answers
432 views

Why did I get access to the wallet?

I generated a 12-word BIP39 word sequence using a third-party library (not from the solana tools). Next, I went to the phantom mobile application and added a wallet by restoring it using a 12-word ...
Leo Loki's user avatar
  • 464
3 votes
1 answer
154 views

how to decode privatekey into bs58 acceptable by wallets?

I'm trying to encode a privatekey into bs58 and login into wallets but it says its not in the correct format. However i'm encoding into bs58 and even decoding to make sure i'm getting the same ...
pedrogatinhos's user avatar
3 votes
1 answer
307 views

How do you transfer an NFT between wallets using Solnet?

While searching for this, I keep ending up back at this code sample. Is it really this complicated to transfer an NFT? https://github.com/bmresearch/Solnet/blob/master/src/Solnet.Examples/...
Keith Walton's user avatar
3 votes
1 answer
61 views

how to use web3.js v2 with solana wallet adapter?

how can a web app add the common "wallet adapter" into their application? at least using react since it seems to be the more common javascript framework in the ecosystem something like the @...
nickfrosty's user avatar
  • 1,199
3 votes
1 answer
247 views

Can i implement wallet adapter for solana in vanilla js?

I would like to implement wallet adapter in a vanilla js script using something like unpkg or jsdlivr. Is it possible to do that?
user19288852's user avatar
3 votes
2 answers
74 views

How do extension wallets save sensitive user information?

Is there any standard practice about how all extension wallets (Phantom, Glow, Backpack, etc) store sensitive information like seed phrase or master private key? As an extension dev, were should I ...
0xShuk's user avatar
  • 1,991
3 votes
1 answer
215 views

What are common practices for solana staking account address generation for wallet developers?

In order to delegate funds they must be moved into a staking account. The staking account address can be anything, even random bits as long as it doesn’t collide with any other staking account address....
Brian Bradley's user avatar
3 votes
0 answers
59 views

How to implement a wallet button using web3.js v2

I have been using sveltekit + @solana/wallet-adapter-base, @solana/wallet-adapter-phantom to build my solana frontend dapp, this is not good because they depends on web3.js v1 which depends on bs58 ...
Joey's user avatar
  • 131
3 votes
1 answer
773 views

Can I regain signing authority of a wallet that was drained? Still have Private Key & Passphrase

After a wallet drain, the hacker was able to change the signing authority on my wallet. I still have the private key and passphrase. I can still import the wallet, but I can no longer sign any ...
Zack's user avatar
  • 31
3 votes
0 answers
111 views

Is it possible to connect a wallet to a website through a script? [closed]

So I've been thinking about making a custom wallet through the command line. 2 questions came up in my mind. Is it possible to connect to a website through just the command line? Maybe through web ...
Pixeled's user avatar
  • 486
2 votes
3 answers
28k views

How to burn Tokens in a Solana wallet

I want to burn tokens like in Ethereum where you send them in a dead address, and I was wondering if it's safe to send tokens to this wallet: dead111111111111111111111111111111111111111 I'm still a ...
Hyratio's user avatar
  • 21
2 votes
2 answers
4k views

Cant find keypair module

I want to check if a wallet contain an NFT by its address, but when I try to import keypair module I get an error that it does not exist. Cannot find reference 'keypair' in 'init.py' import os ...
Nirco's user avatar
  • 23
2 votes
1 answer
4k views

How do I import and export a wallet keypair generated from CLI to a wallet provider like phantom or solflare?

How to Import and Export Wallets between CLI and Wallet providers? How do I export my wallet keypair generated from the Solana CLI and import it into a wallet like phantom or solflare? And how to ...
DonnySolana's user avatar
2 votes
1 answer
162 views

Error: expected a sequence of length 32 (got 44)

I am a python newbie and I am trying to create a simple wallet balance tracker for solana, I keep getting the error message: Error: expected a sequence of length 32 (got 44) heres the code: import ...
Proowy's user avatar
  • 23
2 votes
2 answers
527 views

Token-2022 coin in Coinbase wallet? Please help a noob! [closed]

I swapped for a token-2022 coin on jup.ag using sol from a coinbase wallet. Now jup is showing the transaction and the amount, but the wallet doesn't. Not seeing it in the wallet. Does Coinbase ...
JoeyJoeJo Shabadoo's user avatar
2 votes
1 answer
98 views

How to secure backend api calls with web3?

In web2 we usualy create a bearer token when authentificating the user, and then use this bearer token in every api call. In web3, since the authentification is made with a wallet (connection), the ...
Effe2's user avatar
  • 1,607
2 votes
1 answer
175 views

Does minimum balance for rent exempt change over time

I am building a wallet where I have multiple accounts. I would like to know what the rent exempt line is at all times. So that when transfers are being made, they don't end up failing because they go ...
Nissen41's user avatar
2 votes
1 answer
54 views

Prove that the user is the owner before a backend call

Is there any way to verify that the logged-in user is the owner of this account? There is an API route to fetch data from this wallet, but I would like to add a security layer so that not just anyone ...
Swifty's user avatar
  • 438
2 votes
1 answer
33 views

What does double dererefence ** do in anchor project?

This is how we write code to add fund to a user in anchor solana project: **user.to_account_info().try_borrow_mut_lamports()?+=amount; Why is the "**" operator used here?
Yilmaz's user avatar
  • 1,264
2 votes
2 answers
813 views

Is there a disconnect method for custom wallet buttons?

Using the Wallet Adapter package to add a custom connect/disconnect button and having some issues finding a way to disconnect a wallet. Connecting works find with useWalletModal() but can't seem to ...
Joey Meere's user avatar
  • 1,612
2 votes
1 answer
326 views

I want to create multiple PDA accounts made with different seeds belonging to a single user/wallet. to be exact I want to initialize multiple PDA Aco [closed]

I want to create multiple PDA accounts made with different seeds belonging to a single user/wallet. to be exact I want to initialize multiple PDA Accounts with different seeds or bumps belonging to a ...
Syed Murtaza Ali Shah's user avatar
2 votes
1 answer
157 views

Transfer tokens to and from a program

I have a question about linking a wallet to a smart contract. Specifically, I want to send tokens to a program wallet and then have that wallet send tokens to another recipient in a subsequent ...
GoT's user avatar
  • 97
2 votes
1 answer
198 views

Solana OnCurve / OffCurve

I don't understand the whole curve thing. I was trying to generate vanity addresses using the solana cli. I created a keypair, then derived the pubkey from it using solana cli. Now if I check solscan ...
Naschi's user avatar
  • 21
2 votes
1 answer
263 views

can anyone guide me how to install solana/web3.js in react native application. I am getting BigInt related errors?

ReferenceError: Can't find variable: BigInt at node_modules\react-native\Libraries\Core\ExceptionsManager.js:null in reportException at node_modules\react-native\Libraries\Core\ExceptionsManager.js:...
Harry Choudhary's user avatar
2 votes
1 answer
178 views

Does one have to generate a special token address for USDT, USDC... when one generates a new address?

In my application I need to generate new addresses from time to time. I need them for SOL as well as for the stable coins on Solana. A new address will be assigned to a new user. Since Solana has ...
Camila326's user avatar
  • 169
2 votes
2 answers
367 views

How can I recover SPL tokens from an account that is nested inside another ATA account?

We have a Kin account that is nested under a USDC account. We have 2 USDC accounts, and the Kin is nested under a USDC account [1] that wasn’t created by the Associated Token Account program [2], ...
rory's user avatar
  • 21

1
2 3 4 5