Skip to main content
2 votes

Do I publish the coin via a pull-request?

I would advise you to first look at the documentation and understand how tokens work on Solana. The docs cover everything https://solana.com/docs/core/tokens takes you through what tokens are and how ...
Jimii's user avatar
  • 3,020
2 votes

WHITELISTING FUNCTION

For that you can for example use the transfer hook extension of the token extension program (aka token 2022) Its not an easy task though. Here is a repository with a transfer hook whitelist example: ...
Jonas H.'s user avatar
  • 5,727
2 votes

Is it possible to create deflationary token on solana?

You can create a token with the "transfer fee" extension, and set the fee withdraw authority to the PDA for some simple program which allows anyone to withdraw and burn the fees on any ...
Jon C's user avatar
  • 15.1k
2 votes
Accepted

Wrapping Sol results into Error: IncorrectProgramId

I finally figured out the problem: I was not initializing the ATA(I assumed it happens automatically when doing a transaction), the owner of the ATA was not the Token Program One more point worth ...
Nika Pestvenidze's user avatar
2 votes

How to find newly deployed tokens on Solana?

You can use Bitquery Instructions API to easily subscribe to newly deployed Tokens in Solana blockchain. To test out the subscription, here's the link - https://ide.bitquery.io/Get-newly-created-...
Akshat Meena's user avatar
1 vote

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

I did some more digging and stumbled upon the only solution around town that correctly uses the wallet-adapter and the connected wallet as the payer/signer: https://stackoverflow.com/a/73943145
Poot Coin's user avatar
1 vote

Remove Transfer-Hook from my token

Definitely! You just need to disable the transfer hook program id on your token. You can do that by running: $ spl-token set-transfer-hook <TOKEN_MINT_ID> --disable
Jon C's user avatar
  • 15.1k
1 vote

What determines the fee payer on a token swap?

If you are sending the transaction through Phantom's ui, it likely automatically sets your address as the transaction fee payer since you are the one sending the transaction. By default, the first ...
john's user avatar
  • 7,405
1 vote

MODULE NOT FOUND

To resolve the error you're encountering, ensure you are in the project root directory and run the following command to install the required package: : npm i @solana-developers/helpers This should ...
Shahid H.'s user avatar
1 vote

how to decode data instructions with javascript

more easier solution to import the borsh decode from [email protected] (guess has similar solution for other anchor version) import { BorshInstructionCoder } from "@coral-xyz/anchor"; let coder = ...
Wei Tang's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible