Questions tagged [createminttoinstruction]
The createminttoinstruction tag has no usage guidance.
8 questions
0
votes
1
answer
49
views
How to get token CA when subscribing to websockets for newly minted coins
is it possible to get the token mint address when a new token is called from the websocket API?
context: { slot: 305696650 },
value: {
signature: '...
1
vote
0
answers
58
views
How can I retrieve Raydium Swap instruction account keys using a mint address in Rust, without making an API call?
I'm working on creating a Raydium swap instruction for the Solana blockchain using Rust and need to construct it solely with Pubkeys, without making any external API calls. Specifically, I'm looking ...
0
votes
1
answer
34
views
Error occurred: Error: !signature
I'm trying to create a new SPL token using @solana/web3.js and @solana/spl-token at the end of the process I got this error Error occurred: Error: !signature. Even though I don't know if the weather ...
1
vote
1
answer
82
views
I've created a metadat-pointer mint and need to know how to mintTo my wallet with them!
I used the following code from
https://solana.com/es/developers/guides/token-extensions/metadata-pointer reference.
It's a sample I've seen around which stores Metadata in a metadata-pointer mint ...
0
votes
0
answers
51
views
Calling mint_to for second times error: ConstraintMintMintAuthority. Error Number: 2016. Error Message: A mint mint authority constraint was violated
Initialize and Mint token functions:
pub fn init_token(ctx: Context<InitToken>, metadata: InitTokenParams) -> Result<()> {
let authority = &ctx.accounts.payer;
let ...
1
vote
1
answer
706
views
Best way to Create a Meme Coin on Solana/Tips?
It looks like you can explained 300 bucks on deck screener to make one. Is it that easy?
6
votes
1
answer
119
views
createMinToInstruction authorized by PDA, works in LocalNet, but gives "Account not associated with this Mint" on DevNet
I create an automated deployment script that will mint 2 million SPL tokens to an address, the mint is owned by the program PDA as shown in Solana explorer:
Bellow is the last step in the deployment ...
3
votes
1
answer
1k
views
TypeError: Cannot read properties of undefined (reading 'createInitMintInstruction')
I am getting this error.
TypeError: Cannot read properties of undefined (reading 'createInitMintInstruction')
I dont know where and how it went wrong.
Appreciate the help.
await program.rpc.mintNft({
...