Skip to main content

Questions tagged [solana-wallet-adapter]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
25 views

When using the wallet-adapter-react-ui package how can I handle the wallet connect event?

I am using the WalletMultiButton and upon wallet connection I would like to handle that. Is there an event or something to hook into?
David Choi's user avatar
-1 votes
1 answer
51 views

How do I reconnect my tapswap to my Solana wallet

I connected my tapswap to Solana wallet through the tapswap bot on telegram and it was successful but on checking my connected apps on phantom, I can't find tapswap. I tried connecting my wallet ...
Elohor's user avatar
  • 1
1 vote
1 answer
32 views

Tx sign: WalletSendTransactionError: Unexpected error

I got the following .tsx code and when I trigger the tx it sucesfully prompts on phantom, however on accept, I get a console log error: app-index.tsx:25 GOT ERROR Error: Unexpected error at Bi.<...
mark's user avatar
  • 91
0 votes
1 answer
28 views

Solana anza-xyz wallet not opening the transaction request window, posted bug on github, no answer

I posted the question here ↙️ https://github.com/anza-xyz/wallet-adapter/issues/981 I cant afford to launch a smart contract yet, so in the meantime I want to set it up in devnet and do test ...
Keola's user avatar
  • 73
2 votes
1 answer
37 views

Unable to use getOrCreateAssociatedTokenAccount for accounts that don't have the token

I am using the wallet-adapter-react with spl-token and web3.js libraries. I can send an SPL token to an account that already holds it, but I cant seem to send anything to an account that was just ...
Poot Coin's user avatar
0 votes
0 answers
30 views

Solana Pay Link for Payment with Wallet on computer

I am looking into Solana Pay right now for a web app where you can buy shares. I worked through different tutorials but in the end it is always showing that you can convert it into QR Code and then ...
lion_hustles's user avatar
0 votes
0 answers
19 views

How to Configure Solana Wallet Adapter with Next.js Middleware for Subdomain Redirects?

I'm building a decentralized application (dApp) using Next.js and Solana, and I need some help with integrating the Solana Wallet Adapter in a way that works with subdomain redirects handled by Next....
Shahid H.'s user avatar
-1 votes
0 answers
35 views

Problem with rapswap connecting with wallet

My solona wallet is not connecting to my tapswap. will not take you anywhere I need help this please
Ifeanyi Samuel's user avatar
0 votes
0 answers
37 views

Phantom wallet working fine in localhost but not on vercel server

I connected the phantom wallet to my next js program it's working fine in local but after production to vercel it's static doesn't do anything.
Satyansh Mittal's user avatar
0 votes
2 answers
34 views

How do i get metadata to upload from my frontend to backend

// src/uploadMetadata.js const { config } = require("dotenv"); config(); const { createMetadataAccountV3, updateMetadataAccountV2, findMetadataPda } = require("@metaplex-foundation/mpl-...
Techy Tro's user avatar
0 votes
2 answers
65 views

how to make your dapp (frontend application) trustable for solana transactions

I deployed my website and now phantom or solflare or what ever is telling me always the same. My site is not secure or what ever. const { connection } = useConnection(); const { publicKey, ...
user16284's user avatar
0 votes
2 answers
4k views

How do I connect tapswap with solana

My Tapswap is not connecting to Solana wallet is not working like if you tap on go is not even redirect you to Solana wallet any help please
Oluwatosin's user avatar
0 votes
1 answer
43 views

So, many errors with trying to get connect wallet to work from /anza-xyz/wallet-adapter urgent help requested create-react-app

I tried using chatgpt and any other resource I could find, here are my Walletbutton.js script, app.js, and my AppWalletProvider.. I'm using create-react-app. //WalletButton.js import React, { ...
Keola's user avatar
  • 73
1 vote
0 answers
12 views

React-native with web3auth

import Web3Auth from '@web3auth/modal'; import { CHAIN_NAMESPACES, IProvider, WEB3AUTH_NETWORK } from '@web3auth/base'; import SolanaPrivateKeyProvider from '@web3auth/solana-provider'; whenever I ...
JhiNResH's user avatar
1 vote
1 answer
36 views

How do you pay fee with solana adapter for backend transcation of sol

What i am trying to do this create a transcation on backend( which have pk for my wallet ) set frontend wallet as fee payer sign that transcation and send it to frontend and only if end user signs the ...
Rowan's user avatar
  • 13
0 votes
1 answer
40 views

how do I use the anza-xyz/wallet-adapter with my create-react-app?

currently I have a css/react.js widget made in C:\Users\Keola\Desktop\MyToken-ICOWidget\Project\React-Widget\ico_widget which looks like this: (so far) I want to tie in the wallet adapter to the ...
Keola's user avatar
  • 73
0 votes
1 answer
24 views

Recent Block Hash Issue with Multiple transactions

I want to do multiple transactions at one, When I tried to execute the transactions it shows that block-hash not found, I guess due to expiration of the block. How can I overcome this issue? Sometimes ...
Anon's user avatar
  • 111
1 vote
0 answers
20 views

Unable to send to token

There was an error attempting to send the token to account xyz Error code I've been receiving this error message for 3 hours now, what could be the problem, I have sol to cover the gas fee.
Can Wesley's user avatar
0 votes
0 answers
15 views

I deposited some Solana from the exchange

I deposited some Solana from the exchange to my phantom wallet. I entered the Volt address correctly, the transaction was completed, but the amount of Solana was not added to my Volt. I had set the ...
Abed's user avatar
  • 1
1 vote
1 answer
22 views

How long will a solana wallet being deactivated?

I have 2 related questions: When I created a new wallet on Solana network and did not make any activity, how long will the wallet being deactivated? And how long will the wallet being deactivated ...
Long Dinh Tien's user avatar
0 votes
1 answer
60 views

About solana token Decimals

I'm new to Solana. I've created a swapping method to swap Solana tokens, and it has successfully swapped tokens. However, I'm stuck on one problem: I need the decimals of the token to swap Solana ...
Meet Desai's user avatar
0 votes
0 answers
39 views

when i connect phantom wallet in website on Mobile phone is redirect To phantom Mobile app browser

When I connect Phantom Wallet on a mobile phone through a website, it redirects to the Phantom Mobile app browser. However, we prefer users to only go to the app for connecting and signing messages, ...
Bharat Bhushan's user avatar
0 votes
0 answers
52 views

How to force wallet adapter to connect to specific wallet

We are building an app that utilizes the Anza Wallet Adapter. For our specific use case, we get the user to choose a specific wallet address that will be linked to their account. The intended ...
Kraz's user avatar
  • 13
1 vote
1 answer
25 views

Fresh development environment fails to install required packages (NextJS/Typescript Env)

Im setting up a standard env for Solana using NextJS/Typescript. When I try to add standard packages via Yarn: yarn add @solana/wallet-adapter-react @solana/wallet-adapter-wallets @solana/web3.js @...
dectral's user avatar
  • 21
0 votes
1 answer
29 views

can anyone tell me why i am getting this error when i trying to create a token

i am getting this error Error in create mint Error: failed to send transaction: Transaction simulation failed: Error processing Instruction 0: custom program error: 0x1 import { useConnection, ...
Money's user avatar
  • 1
0 votes
1 answer
65 views

so i am following solana bootcamp and getting this error bigint

i am using nextjs with typescript https://www.soldev.app/course/interact-with-wallets#content and following this lab but when i am doing npm run dev i am getting this error bigint: Failed to load ...
Money's user avatar
  • 1
2 votes
1 answer
66 views

How to transfer spl token using wallet-adapter or any other wallet like phantom wallet?

Almost all of the tutorial and materials online/guide uses keypair, which is not practical
Vendetta Labs's user avatar
0 votes
0 answers
13 views

Set text of wallet multi button

import {WalletMultiButton} from '@solana/wallet-adapter-react-ui' <WalletMultiButton style={{background : "linear-gradient(45deg, var(--bolorPurpalPrimary), var(--bolorPurpalPrimary2))" ...
USER0707's user avatar
0 votes
0 answers
64 views

WalletSendTransactionError: Non-base58 character

I am facing issue with the minting of the NFT. This is the code inside my react component. const { connection } = useConnection(); const { publicKey, sendTransaction } = useWalletSol(); const ...
niishaaant's user avatar
0 votes
1 answer
47 views

I have staked PYTH and I want to withdraw it but it's in a HACKED wallet

Can you help me what to do with a hacked wallet. It automatically drains the wallet whenever I send solana in it. Is there a way I can Unstake PYTH to another wallet?
user13548's user avatar
1 vote
0 answers
565 views

Fail Finalized (MAX Confirmations) Program Error: "Instruction #4 Failed - Account is frozen"

**hello i need help plz i have been sending my solana to bonkbot and all what i get is lost lost lost , okay no problem , but now i win i made 220$ and when i try to cash out i cant it shows me this ...
LUFFY's user avatar
  • 11
0 votes
0 answers
90 views

Telegram Bot Creating & Storing Private Keys

So im building a bot for buying sol tokens, and i will be creating wallets for users in the bot something like temporary wallets, which means i have to store private keys, now telegram bot doesnt ...
user13244's user avatar
0 votes
1 answer
40 views

How to Add Mint a supply to a token and open the mint to everyone and not only my wallet with the mint Authority

I followed the link here to create a fungible spl-token: < https://www.soldev.app/course/token-program> . I have the following questions though: How do I specify a mint cap so no more than the ...
Maximctrl's user avatar
2 votes
1 answer
49 views

New Solana Dev Here: Can someone please point me to the latest up-to-date education content?

Problem - I've spent 2 weeks already going through buildspace and soldev.app and have come across "broken" material. Details and research - Has code not been maintained? Things seem to be ...
hydro7217's user avatar
3 votes
0 answers
267 views

Network mismatch

I am trying to send a transaction on devnet network but for some reason I keep getting the error "Network mismatch Your current network is set to Devnet, but this transaction is for Mainnet. ...
Бен Тен's user avatar
1 vote
0 answers
106 views

How to get wallet balance From SOLANA?

import { useWallet } from '@solana/wallet-adapter-react'; import React, { useEffect, useState } from 'react'; import { Connection, PublicKey } from '@solana/web3.js'; const Hero = () => { const ...
Kamil Barwiński's user avatar
1 vote
0 answers
48 views

wallet-adapter-react cannot connect on mobile?

I'm using @solana/wallet-adapter-react to connect, sign in, deposit, and withdraw with the PhantomWalletAdapter. Everything works fine on desktop, but I cannot connect on mobile browsers. Whenever I ...
Dai Daniel Nguyen's user avatar
1 vote
1 answer
54 views

Do 1000s of transactions at once

My idea is to create a service that gets the CSV of the user's list and sends SOL to them. I want to send multiple (1000+) users at once. I saw that address per transaction is limited, how can I ...
Anon's user avatar
  • 111
1 vote
2 answers
158 views

How can I mint more tokens for my meme coin?

I launched a meme coin today, And I burned entire LP & also sold all my tokens from my dev wallet (Its Empty now). This meme coin did not go well & is already dead, But their is still money ...
Balkarn's user avatar
  • 11
0 votes
2 answers
95 views

Can I mint more tokens to get money out of my meme coin?

I launched a meme coin today, I burned entire LP & I also sold all my tokens from my dev wallet. This meme coin did not go well & is already dead, But their is still money inside and it is ...
Balkarn's user avatar
  • 11
0 votes
0 answers
8 views

I am getting this error when changing the name server Error: Unknown https cluster: [object Object]

Here is my code And here is the error
Vasilew's user avatar
1 vote
1 answer
60 views

sendAndConfirmTransaction does not exist for typ connection

How can I solve this? as far as I have seen, it has the typ connection.. export async function createMint( wallet: WalletAdapter, mintAuthority: Keypair, decimals: number ) { if (!wallet....
JackSparrow's user avatar
1 vote
0 answers
21 views

Unusual SEO and Redirection Issues After Solana Wallet Integration

Overview Hello Solana community, We've recently encountered two significant issues upon integrating Solana wallet functionality into our dApp (domain: gray.market), and we're hoping for some guidance ...
Lucas Ferronato's user avatar
0 votes
0 answers
21 views

Wallet or wallet owner is undefined in createTokenAccount

It won't create the Token Account, it says: Wallet or wallet owner is undefined. I tried to change it to Wallet: wallet instead of Wallet: any. try { // const connection = new Connection('...
JackSparrow's user avatar
0 votes
1 answer
32 views

How do i get the 10 public keys where the amount is > 100

import { Connection, PublicKey, LAMPORTS_PER_SOL } from "@solana/web3.js"; const publicKeyString = "Gjkud8j4qDLRyox4eMGC5QDWq9HoG5JTYpxRjLYepHyh"; const mainnetBetaEndpoint = &...
Neil K's user avatar
  • 1
1 vote
1 answer
45 views

"Unexpected error" when trying to create a mint account on React

I am using @solana/spl-token to create a minting account on a react typescript application. When the following code work to send a normal transaction, the instruction SystemProgram.createAccount, once ...
Asalvatore's user avatar
0 votes
1 answer
66 views

Issue with staking via wallet adapter

Need to create stake account and then delegate via wallet-adapter in NextJS. Took some code from Solana Cookbook. Getting an issue after accepting transaction in any wallet, crashes at the line ...
Mukhtar's user avatar
  • 43
0 votes
2 answers
62 views

createFreezeAccountInstruction causing sendTransaction to fail

I'm trying to send a createFreezeAccountInstruction using @solana/spl-token and @solana/wallet-adapter-react but I keep getting a general sendTransaction failed error after signing the transaction in ...
Steve F's user avatar
0 votes
1 answer
168 views

How to get the taxes from the tax I created on my token?

After I have already created my token and defined 5.5% of tax in it and also defined a wallet that will receive it what next? If I upload it to dex, I will already receive the commissions and can ...
4569's user avatar
  • 1
0 votes
1 answer
51 views

Solana Wallet showing unkown network on connecting to React Native

I am following the official Solana Mobile Stack docs to connect my react native dapp to phantom wallet on my real device. But whenever I try to connect, the phantom wallet opens and shows unkown ...
Gopal Mathur's user avatar

1
2 3 4 5