Skip to main content

Questions tagged [sol]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
20 views

I cant use my sol in my wallet

There’s a smart contract in the wallet to send any funds out of the wallet , I asked a different dev to do it for me because the wallet was compromised , what I can do boys? I cant send my sol it's ...
dad's user avatar
  • 1
0 votes
0 answers
14 views

Is it normal that airdrop is so difficult to use? [duplicate]

I have a wallet that I use for my testing. I'm an experienced dev, but basically just starting in Solana. I'm trying programs and new features and need to get going on the projects but of course need ...
David Pawlak's user avatar
0 votes
0 answers
6 views

How to keep sol and spl both as collateral In solana escrow program in anchor. I am really confused

So i am using anchor escrow program. Now how can i keep sol as collateral in program. Also my phantom wallet does not show the amount of sol being kept as collateral
ajaythxkur's user avatar
1 vote
1 answer
51 views

Wrapping Sol results into Error: IncorrectProgramId

I have a PD vault account, I transfer some amount of SOL to WSOL token account for this vault and then I try to call the SyncNative instruction that results into err: 'Program ...
Nika Pestvenidze's user avatar
0 votes
0 answers
15 views

How can I get data about wallet transactions as efficiently as possible?

I need to process wallets to get information about the necessary transactions, but in order to find the ones I need, I have to send a request to receive all transactions or a certain bundle, which is ...
Витя Крен's user avatar
0 votes
1 answer
19 views

Staking solana error

I am currently staking solana using phantom wallet but now I want to unstake. The thing is, it says the staking is active and I can't deactivate it. When I click "unstake" button, it starts &...
Mystak3's user avatar
1 vote
1 answer
45 views

What's wrong? I'm having problems with Solana imports @solana/spl-token

This is my package.json file: { "name": "TokenCreator", "version": "0.2.0", "license": "MIT", "private": false, "...
Solana Noob's user avatar
1 vote
1 answer
82 views

Problem with calling versioned transactions

Im using this python script to retrieve this version 0 transaction: import requests url = 'http://api.mainnet-beta.solana.com/' headers = {'Content-Type': 'application/json'} payload = { "...
sup no's user avatar
  • 11
1 vote
1 answer
99 views

How to completely move balance out of Sol Wallet

(Not token) I'm trying to move all the SOL that I receive in my SOL wallet, but I get an error: Transaction results in an account (0) with insufficient funds for rent While I know what rent is, and ...
soeth's user avatar
  • 11
0 votes
0 answers
13 views

Bitcoin amount not showing on Phantom in my new Android phone

In my Phantom wallet I have SOL and BTC, I tried installing Phantom app on my new mobile and import my wallet to it but it only imports SOL and not BTC even though I enabled the BTC network option, it ...
محمد خير الخلق's user avatar
0 votes
0 answers
27 views

Error Due to Network Congestion

The GMT coin sent from the wallet section of the Stepn application to the spending section on March 31, 2024 was not received and remained suspended. Can you help me? https://solscan.io/tx/...
Necati Uslu MilSorTR's user avatar
1 vote
0 answers
15 views

Solana tool building

We are building the mini-app with the website for it. Our main goal for the website is to filter and sort among tokens on the Solana blockchain from the Admin Panel and display the most relevant ...
Jamal's user avatar
  • 11
0 votes
0 answers
25 views

Messed up a SOL transfer. Tried to recover using Wormhole and failed again. Can someone help to retrieve tokens?

Messed up a SOL transfer by using a wrong network. Tried to recover it using wormhole bridge and was able to see the tokens in wallets. Tried to recover it for a while in 2022 and failed again. Now I ...
Joe24's user avatar
  • 1
2 votes
1 answer
85 views

API to get historical SOL/USDT price?

Is there an API to get get SOL ticker price w.r.t. USDT for a particular timestamp? I want to use it to account for taxes I tried using the Binance API as suggested in https://stackoverflow.com/a/...
A. K.'s user avatar
  • 175
0 votes
1 answer
158 views

Serializing/Deserializing a transaction

Got two questions. I. have created a transaction on the client. I have two options: Serialize it, then convert it to a blob and send it to the backend, or; Convert it to a blob and send it to the ...
kekti's user avatar
  • 55
1 vote
1 answer
41 views

the usage of staticAccountKeys in VersionedTransaction

this is the struct of MessageV0, but I'm very curious about the staticAccountKeys field. What is its purpose? I couldn't find any explanation for this field in Solana's cookbook (https://...
young seraph's user avatar
0 votes
1 answer
332 views

Solana CLI Transaction Timeout Error

I have been trying to learn the ins and out of the Solana CLI interface to better understand the chain but I keep running into a wall when I attempt to send SOL using CLI. I created my keypair and ...
Chase Bryndal's user avatar
0 votes
1 answer
601 views

How to calculate liquidity pool and initial liquidity?

I'm having trouble understanding the liquidity pool and initial liquidity calculation. SOL Pool I've learned that there is a ratio at which you can solve SOL Pool if you have Liquidity Pool. So you ...
Ivan's user avatar
  • 1
0 votes
0 answers
17 views

Brave, Solana name service,

I've been working on setting up my .sol domain and this answer appears correct by existing documentation. I found this previously: How to configure DNS Records for .sol domain so Brave recognizes it? ...
Chris Madison's user avatar
2 votes
1 answer
709 views

LP locker for Solana

Does anyone offer a process for locking liquidity in Solana projects? I can’t find anyone like pinksale for solana
Hugh's user avatar
  • 31
0 votes
1 answer
147 views

TransactionSignatureVerificationFailure when Sending Solana Swap Transaction

I'm attempting to execute a swap transaction on the Solana network using Python and the Solana API. However, I'm encountering an error related to TransactionSignatureVerificationFailure during the ...
Cosinus basic function's user avatar
1 vote
1 answer
58 views

Sent to my FTX wallet by mistake - Anyone know if I can get that back [closed]

I sent some SOL to an (old) FTX wallet address by mistake. The transaction completed and of course I can't login to FTX - Anyone any ideas how to go about getting that back? Thanks, Sol Down
Sol Down's user avatar
0 votes
0 answers
43 views

My sol balance can't be sent

I am trying to send sol from wallet to another. I have sol, but it says I don't have any available for swap
Erioluwa Benjamin's user avatar
-1 votes
1 answer
1k views

Solflare wallet - Swap - Fraud

hoping that you may give me some guidance. 1 - I wanted to buy Jupiter Coin which will come live on 31st Jan. 2 - In my solflare wallet , I had 3.9 Sol. 3 - I used SWAP option and placed my Sol tokens ...
user8543's user avatar
1 vote
1 answer
570 views

RPC call fails. Why exactly?

This is my code: Liquidity, LIQUIDITY_STATE_LAYOUT_V4, LiquidityStateV4, MARKET_STATE_LAYOUT_V2, } from '@raydium-io/raydium-sdk'; import { getOrCreateAssociatedTokenAccount } from '@solana/...
Ben Snaas's user avatar
1 vote
1 answer
610 views

Why am I losing an unspecified amount of Sol when making a transaction?

I am conducting experiments with buying and selling meme coins using a bot. I attempted to make a purchase with only 0.001 Sol. However, my account was deducted 0.003 Sol. Besides the detailed fees ...
Nam Lee's user avatar
  • 111
0 votes
1 answer
52 views

Why do I get throwtransaction error?

This is my script: import * as web3 from '@solana/web3.js'; import * as fs from 'fs'; import { ExtensionType, TOKEN_2022_PROGRAM_ID, createAccount, createInitializeMintInstruction, ...
Ben Snaas's user avatar
2 votes
1 answer
75 views

How can I retrieve the rent balance on an address from the native node RPC?

Is there an endpoint in the JSON RPC API which can give me back the rent balance for a given address? https://docs.solana.com/api/http#getaccountinfo
sibabtcs's user avatar
1 vote
2 answers
665 views

Get Creation Date

so one more ask. Searched for this, and only found 1 way to get the creation date of a token. The way I found involved looping through every transaction, and then finding the first transaction and ...
plat_winz's user avatar
1 vote
1 answer
2k views

Getting Token Information

Starting to build some stuff in Solana, well looking to. And am used to EVM chains. With what I am building on the EVM side i would normally get token information creating an contract with web3js, ...
plat_winz's user avatar
0 votes
1 answer
542 views

Staking deactivating

I have deactivated my staking of sol 2 days ago but it is still showing deactivating. I'm new to Phantom so I Don't know how much time will will take to compete the Process. If anyone knows then ...
Boma Manik's user avatar
0 votes
0 answers
70 views

how to recup solana sent by mistake to metamask address?

I sent by mistake sol to my metamask address in solana chain, I didn't use raydium to make my wallet how can I recupe that ?
amd's user avatar
  • 1
0 votes
1 answer
1k views

How to interact with router for swap transaction?

hope all doing good in your life, How can I perform a transaction using a Solana router(like orca, Raydium) to swap Solana's native token with another token? I've come across various crates such as ...
PandaKungFuu's user avatar
3 votes
2 answers
181 views

HashMap in Solana Rust Contract

My HashMap is not functioning properly on Solana when using a Rust program. Is there an alternative approach to achieving a similar functionality to a HashMap? Essentially, I want to retrieve data ...
Bobz's user avatar
  • 516
0 votes
2 answers
216 views

Sol staking question

When viewing my staking account it appears that my authority address has changed and my main address is no longer it How do I change the authority back to my main address and is my main address still ...
ScrapHouse of Life CCC's user avatar
2 votes
2 answers
673 views

How can I transfer SOL using programs and PDA's with native rust?

Hey I try to create a basic program which takes and manages sol for users. Something like the weth contract on ethereum. The program just needs to store the SOL and under some conditions users will be ...
Yali Haviv's user avatar
1 vote
1 answer
194 views

How to configure DNS Records for .sol domain so Brave recognizes it?

Brave browser now supports resolving .sol domains https://brave.com/solana-name-service/ But what I'm curious about is how can I configure the DNS records for my .sol domain? I see in the Bonfida UX ...
decartes's user avatar
0 votes
0 answers
91 views

How do I transfer SOL from a PDA account to a user's wallet?

I'm now developing on solana blockchain. I want to users can deposit and refund their sol on my pool. create_pool works well it means users can deposit their sol to my pool. but cancel_pool error. ...
Watcher's user avatar
3 votes
2 answers
512 views

How to build airdrop script for sending equalamount of SOL to multiple addresses?

As a newbie dev, I tried to write an airdrop script using AI but I'm failing to get it to work. My goal is to be able to send an equal amount of Solana to multiple wallet addresses listed in a .txt ...
alo's user avatar
  • 31
1 vote
1 answer
455 views

How do I transfer the SOL on my token account?

I have a token account (example: https://solscan.io/account/3HJdseEK7G8cDEcDQPNmt5z1TuVb5AjCPxvqJCpkskbQ?cluster=devnet) and accidentally sent some SOL to it. I want to transfer this out to my SOL ...
Dav's user avatar
  • 11
2 votes
2 answers
151 views

Trouble with conducting a simple transaction via Vanilla JS

My code used to work in early-mid November. It used to be a simple SOL transaction from wallet to another through a click of a button and then it just stopped working as I was dealing with something ...
edoedo123's user avatar
3 votes
1 answer
393 views

Delete PDAs and return all lamport

I was looking at the previous posts in this same forum and I think there are some caveats to be made on this topic.
Mateo Lafalce's user avatar
1 vote
1 answer
66 views

SOL Change is wrong

SOL Change in the following transaction is wrong. https://explorer.solana.com/tx/2zSnKNdmAmR9ZJzwLg7z3CDLxJo9pv49iRc3xT1xtt5rzkTdfTbmjjGwByL96DdLhYb2isfnYzuSktgbdE15k8uD ...
user2028's user avatar
3 votes
1 answer
444 views

What's .sol address?

I'm trying to sign up for the weekly NFT mailing list with my .sol address. I type my Phantom address but this error shows up. Please provide a valid .sol address. Is the Phantom address different ...
pochi udon's user avatar
2 votes
1 answer
97 views

How to lock lamports to the game and allow winner to withdraw the winning reward

I'm learning Solana with Anchor and decided to implement Roshambo (rock, paper and scissors) game as part of my journey. I'd like to allow players to place some bid on game where winner collects all ...
jakub.bogacz's user avatar
1 vote
0 answers
134 views

Signing a Ledger Transaction with python

I keep getting the Error: Invalid Status 6a80, and I have a hard time figuring out why. I am able to collect the publicKeys, but I unfortunately can't get signatures through it. any help will be much ...
Cyrial Kamda's user avatar
1 vote
2 answers
229 views

Do I need PDA to send SOL to another account?

I'm struggling to send SOL to another address(fixed one when initialize) on Rust level along logging the sender's account address on the program. Do I need PDA for this? Also I have to log the sender'...
sunnydev's user avatar
1 vote
1 answer
108 views

Error when I build the solana wallet adapter repo "ERR_PNPM_NO_SCRIPT Missing script: tsc"

I'm trying to run locally the starter app of the solana wallet adapter. Unfortunately when I run pnpm run tsc I get the error ERR_PNPM_NO_SCRIPT  Missing script: tsc Does anybody know the solution?...
Web3Love's user avatar
2 votes
1 answer
98 views

Does @solana/spl-token-registry include SOL token information?

I'm making a wallet application and using @solana/spl-token-registry to get the icon and name for each SPL token. My question is does this list include the information for SOL token? Does the SOL ...
Andrew Melbourne's user avatar
4 votes
3 answers
1k views

How to transfer SOL from a PDA owned by a program to a wallet

I am trying to build an NFT marketplace where the NFT will be transferred to an escrow wallet a PDA with seeds and the SOL will be transferred from the buyer to a PDA with seeds = "bid" and ...
Joy Mukherjee's user avatar