Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
2 answers
116 views

How to get all wallets (token accounts) holding a specific token (by mint address)

As the title states I would like to get all wallets that hold a particular token by providing the token's address. I believe in more accurate terms I would like to get all token accounts with a non-...
Kody F's user avatar
  • 1
2 votes
1 answer
27 views

What does it mean for a Solana program to not be associated with a ProgramData Address?

From the Solana docs on Program Accounts, when a new program is deployed, a Program Account and an associated Program Executable Data Account is created and the Program Account stores the address of ...
RotatingBlocks's user avatar
0 votes
1 answer
223 views

Is their any API to fetch tranding meme tokens of solana?

I want to fetch all the meme tokens listed on solana network sorted according to the top tranding token first.
Alpha Algorithm's user avatar
1 vote
1 answer
24 views

Can you derive the program owner of a SPL token?

Is there any way to derive the program owner of a token locally without having to use the GetAccountInfo call for example. Such that if I input a token address, it will return whether it is apart of ...
sashavsthewrld's user avatar
0 votes
1 answer
144 views

Adding Set Authority Feature To SPL Token Creator

Recently our team completed a token launcher platform for EVM tokens, now we want to create a another platform for creating SPL tokens. I'm not very familiar with Solana, but I've found some starting ...
DeFiDevJimmy's user avatar
0 votes
0 answers
26 views

when i am creating 'create-extra-metas' using cli i am getting 'invalid program argument' Error

../../target/debug/spl-transfer-hook create-extra-metas HooGStFZgkeZ5wCSg9vHtuEYBSotB26tVEvXra4PEKYJ MoxLrhGXAjVnEiVAjG5ycQbp9MVd4sjfj1yLPFVXhkh error: send transaction: error: send transaction: RPC ...
Mohammad Abuzar's user avatar
0 votes
0 answers
25 views

How do I create customized Solana SPL or SPL 2022 contracts with these specific security functions

How do I create customized Solana SPL or SPL 2022 contracts with these specific security functions? ''The function I wanted in this contract is that only the developer's wallet can apply the token's ...
Mateus MK2's user avatar
2 votes
2 answers
538 views

Why do we close WSOL Token Program accounts?

Background: If I understand correctly: During transactions where we transfer SOL to/from wallets, we need to wrap the SOL in a temporarily created WSOL Token Program account. Then use that to transfer ...
Joe's user avatar
  • 133
1 vote
1 answer
809 views

expected a sequence of length 32 (got 43) error when using solana in Python

Solana community! I'm working on a Python script to filter transactions executed through the SPL Token Program. I aim to specifically identify and list new token creation transactions. However, I'm ...
David's user avatar
  • 339
1 vote
1 answer
209 views

How can I resolve this "Error processing Instruction 1: custom program error: 0x1004"

I'm running into the following error trying to work through the transfer hook docs. https://solana.com/developers/guides/token-extensions/transfer-hook I am using Ubuntu on Windows WSL: I am running ...
Ayman's user avatar
  • 111
0 votes
0 answers
96 views

solana pnft staking program

I'm trying to escrow the user NFT in the stake instructions bu using transferbuilder and using sign invoked with master edition nft as i assume it has the freeze authority on pnfts and getting this ...
amirhoseyn hz's user avatar
1 vote
1 answer
188 views

How to use the key pair of the user connecting on my website to mint SPL token

I want to create a website for users to connect their wallets (phantom etc) to my website, then they can generate tokens into their wallets themselves. I looked at the example on https://spl.solana....
Dat Nguyen's user avatar
1 vote
1 answer
496 views

How to charge transaction fee in my token insteed of SOL if any one tranfer my XYZ token they pay in XYZ instead SOL, Ithey don't need to hold SOL

I'm seeking for help any body can help regarding spl, token, I'm working on app it has in app wallet, if some did dum task I'll provide my token as mining reward, so what I need that, when they ...
Crypto Centric's user avatar
0 votes
1 answer
369 views

Trying to deploy A solana SPL token With A Max Wallet

I have been searching for hours and hours and days but i cannot find a way to deploy a spl token with a max wallet for each user such as , a wallet can buy only 2% of the supply , not more , is there ...
Daily1 Motivation's user avatar
1 vote
1 answer
554 views

What SPL Token Program should I use, Token or Token2022?

I would like to create my own SPL token. However, I'm not sure which program is the best one to use since Token2022 is very new. Can you help me choose the best or right one?
Caroline's user avatar
2 votes
1 answer
4k views

How do I get real-time information about new created tokens on Solana?

So guys, I followed this question How do I get real-time information about newly created tokens on Solana?. I configured a helius hook that monitors the token program at the address ...
slntrx's user avatar
  • 131
2 votes
1 answer
624 views

Does token-2022 allow selling fees instead of a basic transfer fee?

I understand now that the token-2022 standard allows transfer fees but does this also allow a fee that only enforces itself when the coin is being sold just like on Ethereum.
lolswag's user avatar
  • 21
1 vote
1 answer
600 views

Confused about Tokens

I am very new to Solana and am going through the Bootcamp on SOLANA YT channel. Can someone explain me what are tokens? Why do we need tokens? What is Mint? How is SPL different from SOL?
rossexotic's user avatar
3 votes
1 answer
188 views

Token Rewards Calculation and Distribution

I'm doing a script to calculate rewards for a handful of addresses (from sensors). The script runs weekly where it takes a bunch of addresses from our DB, cleans the data and calculates the associated ...
witwiki's user avatar
  • 61
2 votes
1 answer
6k views

How to set token tax fee?

In certain tokens on others blockchains, people who are selling/buying/transferring the tokens will be hit by a 10% or more penalty tax fee on the transactions set by token creator. Some of the ...
overdeveloping's user avatar
0 votes
0 answers
106 views

Is there a Solana program that can facilitate the sale of an NFT to the highest bidder?

There is a use case where an NFT might be available in an auction where multiple bidders compete with SOL to win the NFT when the auction time expires. However, if an application is designed to trust ...
OCDev's user avatar
  • 782
2 votes
1 answer
549 views

Explanation for two token accounts for one owner?

These two token accounts have the same mint and owner. https://explorer.solana.com/address/2xPnqU4bWhUSjZ74CibY63NrtkHHw5eKntsxf8dzwiid https://explorer.solana.com/address/...
euler's user avatar
  • 31
1 vote
2 answers
676 views

Converting IDL to TS

I have an IDL here and I am trying to convert a function, but it is giving me errors. I am trying to use it on the browser. Can you please help as this is urgent? Thanks. IDL: { "name":...
incog's user avatar
  • 597
0 votes
1 answer
53 views

Getting an error after adding solana to my project

I have been getting the following error after adding solana to my project. I have tried adding the @solana/spl-token package ($ yarn add @solana/spl-token) but that didn't work. Please help.
Muskaan Sharma's user avatar
19 votes
2 answers
3k views

What is the difference between Transfer and TransferChecked instruction from the SPL Token Program?

I'm curious what the practical difference is between the Transfer and TransferChecked instructions, and when should we use one over the other. In this question, I'm using Transfer/TransferChecked as ...
beeman's user avatar
  • 1,062