Skip to main content

Questions tagged [mint]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
11 views

How to use payer and minter fields in mintV2 from metaplex

I am playing around with metaplex and umi. Trying to create a collection with candy machine to mint from that candy machine. I have created candy machine and inserted my assets in that candy machine. ...
Nabeel Munir's user avatar
0 votes
0 answers
27 views

Cannot read properties of undefined (reading 'array') TypeError: Cannot read properties of undefined (reading 'array')

I am getting this error while minting the collection :- import { createContext, useState } from 'react'; import { useAnchorWallet } from '@solana/wallet-adapter-react'; import { Connection, PublicKey, ...
Aditya's user avatar
  • 157
0 votes
0 answers
43 views

Cannot use 'in' operator to search for 'vec' in pubkey TypeError: Cannot use 'in' operator to search for 'vec' in pubkey

I am getting this error while trying to interacting with the solana program from react front-end :- import { createContext, useState } from 'react'; import { useAnchorWallet } from '@solana/wallet-...
Aditya's user avatar
  • 157
0 votes
0 answers
34 views

Error : TypeError: Cannot read properties of undefined (reading 'equals')

Hello im trying to decode a possible MintToInstruction if there is one present in the transaction im looking at. This is my code: const { decodeMintToInstruction, decodeMintToCheckedInstruction, ...
Golden's user avatar
  • 49
1 vote
1 answer
30 views

82 bytes Mint accounts

In an 82 bytes Mint account what are the first 4 bytes and the last 4 bytes. 00-03 (4 bytes) : ?? 04-35 (32 bytes): Mint Authority 36-43 (8 bytes) : Supply 44 (1 byte) : Decimals 45 (1 byte) : ...
J. Pablo García's user avatar
1 vote
1 answer
43 views

MODULE NOT FOUND

import * as dotenv from 'dotenv'; dotenv.config(); import { getKeypairFromEnvironment } from '@solana-developers/helpers'; const keypair = getKeypairFromEnvironment("SECRET_KEY"); console....
Kabin Giri's user avatar
0 votes
0 answers
34 views

CandyMachine: Transaction signature verification failure (Backend to frontend)

I'm working on a Solana-based NFT minting project using Candy Machine and I'm encountering a Transaction signature verification failure error when sending transactions from my backend to frontend. ...
Shahid H.'s user avatar
0 votes
1 answer
45 views

Filtering Instruction Data for Revoke Authority Events in Solana Blockchain using logsSubscribe

I'm working with the Solana blockchain and need to track specific events: 'Revoke Mint Authority' and 'Revoke Freeze Authority'. Currently, I'm using the logsSubscribe method in conjunction with ...
Nerevaine's user avatar
  • 159
0 votes
1 answer
23 views

Solana CLI how to fix this? Not configured Program ID

PS C:\Users\Keola> spl-token mint 4ZPyP3fGWEoFV7ey32jqwJGCydyK9(censored) 80000000 14fbryUnN5Px4GGg1MMgTKawpyvBXUz(censored) Error: "Account 14fbryUnN5Px4GGg1MMgTKawpyvBXUz(censored) is owned ...
Keola's user avatar
  • 73
1 vote
1 answer
68 views

Can I change mint authority from null to an address

I have created an SPL token, minted some tokens and then paused the minting by setting authority to null. Can I reset the authority to my/some other wallet from Null ? I am using SPL through ...
Shubhankar Banerjee's user avatar
1 vote
1 answer
43 views

Making a token on the mainnet; A few questions before I hit enter on the mint command(CLI)

This is that command; spl-token --program-id TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCX(censored) create-token --transfer-fee 300 300000 --decimals 10 --enable-metadata --enable-group --metadata-address ...
Keola's user avatar
  • 73
2 votes
1 answer
118 views

Accept payment, mint specific NFT to user's wallet using Metaplex (but not candymachine)

I am trying to setup a simple operation for a user to pay X amount to mint a specific NFT. Have it working on the client only with different code but dont like that the user could just change values ...
mstelz's user avatar
  • 45
0 votes
1 answer
25 views

Doubt regarding Mint accounts

I am new to solana development. I was reading about how to create a mint account and mint tokens. I had a question that can a mint account mint 2 different types of tokens? like 2 different tokens ...
Yash Patil's user avatar
0 votes
2 answers
119 views

Can't mint any token 2022? I tried minting 60,000,000 tokens but only 18 million were generated and when I try minting more I get an error

Error: Client(Error { request: Some(SendTransaction), kind: RpcError(RpcResponseError { code: -32002, message: "Transaction simulation failed: Error processing Instruction 0: custom program error:...
Keola's user avatar
  • 73
0 votes
1 answer
71 views

How to specify the amount to be minted and total supply in "createAndMint(...)"?

Fungible tokens The createAndMint(...) function accepts the parameter amount. This is an amount of tokens to be minted immediately, right? Then how to specify the total supply?
barugaggi's user avatar
1 vote
0 answers
281 views

invalid transaction: Transaction failed to sanitize accounts offsets correctly

Hope someone can help? We are integrating solana into our interoperable web2/web3 platform called the oasis and having issues minting an nft, we are getting this error: "invalid transaction: ...
Dellams's user avatar
  • 11
0 votes
1 answer
53 views

Token get initialized but not minted

I'm trying to mint a token on the devnet. I want to use rust, as I'm learning it in order to build more advanced functionalities later on, which I think wouldn't be very viable using command line or ...
NDXP's user avatar
  • 1
1 vote
1 answer
105 views

Error minting token on Devnet

Noob here, in a bootcamp. Gettin stuck with this error. I have set configuration successfully to Devnet. But then things like requesting Airdrop from Devnet or spl-token create-token are giving me the ...
Lordshrrred's user avatar
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
2 answers
491 views

Where can i revoke Freeze and Mint Authority safe? Orion tools bugged

Well i just created a token with orion tools, but when i select it and click on revoke freeze or revoke mint, the transaction does not complete, it does not charge me the 0.1 sol and i cant revoke it. ...
Toaddy's user avatar
  • 1
1 vote
1 answer
39 views

Cnft collection token documentation

I am trying to mint cnfts one by one (no usermint on candy machine) using bublegum and umi and I want them to be part of a collection. There is documentation about creating tree and how to mint cnft ...
Bud Loaded Frogs's user avatar
0 votes
1 answer
186 views

Specific events from Token Program via Web Socket

I'm attempting to use the programSubscribe method to listen for specific types of Token Program events, namely "initializeMint". Essentially, I want to know about the creation of token ...
MolonLabe's user avatar
0 votes
0 answers
52 views

Solana spl-token creation and mint

import { getKeypairFromFile } from "@solana-developers/helpers"; import { ExtensionType, LENGTH_SIZE, TOKEN_2022_PROGRAM_ID, TYPE_SIZE, createInitializeMetadataPointerInstruction, ...
dogevr's user avatar
  • 1
1 vote
1 answer
624 views

How to track buys and sells from a Token on the solana chain?

i'm trying to track buys and sells from 1 token on the solana chain. But i don't get it properly done to receive every buy and every sell from this token, and get the correct amount of tokens that ...
DarkDoccieDutch's user avatar
1 vote
1 answer
103 views

Anchor: Initialize token mint with metadata and extension transfer fee

I would like to initialize in my Anchor program a new token to mint with extension transfer fee and metadata. It keeps return error InvalidAccountData when invoke initialize_transfer_fee_config, i ...
Jade's user avatar
  • 117
0 votes
1 answer
37 views

use external json as metadata for fungible asset

I hope my question is clear. So far I have been using metaboss to create fungible assets, which seemingly requires that I create local json files for the metadata. Is it possible to point it to an ...
Rahlok's user avatar
  • 1
0 votes
1 answer
45 views

invoke_signed mint_to with native multisig

I'm trying to mint from a program with a multisig authority. The idea basically is to have a token-mint with multisig (1-N) authority [created with native solana-spl createMultisig. I put the program ...
Shelvak's user avatar
  • 11
1 vote
0 answers
3k views

How to create a Solana Token + Listing on Dexscreen?

I need a little help. My whole project seems to be harder than I thought. I want to create a coin on the Solana blockchain. Since the Solana code is a lot heavier than ETH etc. - there are many ...
Timo's user avatar
  • 11
0 votes
1 answer
153 views

How can i mint solana tokens to increase the total supply? i burned lp [closed]

I will give 1 sol to anyone who helps me with this. I didn't know how to do it. I issued a token, but even though I spent a lot of money, there was no entry. I burned the liquid, but the money inside ...
Batuhan Kara's user avatar
0 votes
1 answer
72 views

What is this wallet.GetAccount(index) stuff?

With Solana, there is the possibility to get accounts which obviously depend on the wallet. This can be done using the wallets GetAccount(index) function, e.g. with Account fromAccount = wallet....
HansHeinz's user avatar
0 votes
0 answers
45 views

Candy Machine mintV2 - Error: failed to send transaction: Transaction simulation failed - Incorrect collection NFT authority

I have Created following candy machine, fetching and adding items, everything works as expected: let collection = await createNft(umi, { mint: collectionMint, authority: collectionUpdateAuthority,...
omairhasan17's user avatar
0 votes
2 answers
169 views

Given a list of token accounts for a wallet, how do I determine which accounts the user/wallet has mintAuthority?

I built a ui using NextJS and the Solana wallet adapter library. I'm using getParsedTokenAccountsByowner to display all token accounts when the user connects their wallet. I want to map over all these ...
Dmitry Sky's user avatar
2 votes
2 answers
179 views

createInitializeMintInstruction() ----> error: invalid account data for instruction using

I am trying to use the "createInitializeMintInstruction()" using JS to create a token. The problem is when executing, it throws an error. Concretely this one: Transaction simulation failed: ...
lauteriust3's user avatar
3 votes
1 answer
145 views

Not Able to mint using Token generated through Solana Playground

I created one Token using Solana Playground following steps on this tutorial. I'm now trying to mint using this token in my terminal using solana-cli. I'm getting below error. Error: "Account ...
Giteshwar Mali's user avatar
1 vote
2 answers
377 views

How to recover SOL sent to a token mint address that I created?

I know it's a monkey brain mistake that I have sent some sol coins from phantom wallet to an SPL token address which I have created. I created this token via Fluxbeam v1. I have been searching online ...
Ididamistake's user avatar
2 votes
1 answer
125 views

Issue with mintTo function

I tried to run the script below but got this error and was wondering where I may have made a mistake? bigint: Failed to load bindings, pure JS will be used (try npm run rebuild?) The token was created,...
johnny's user avatar
  • 69
2 votes
4 answers
294 views

Failed Token Develop and Lose Money :)

Before I start, I would like to apologize for writing a long message. I am a novice software developer who is just starting to learn Solana. Therefore, I wrote the whole story from start to finish ...
TryingToBeSolDev's user avatar
0 votes
0 answers
85 views

Minting NFT collection returns error: TransactionExpiredBlockheightExceededError

I'm having trouble minting an NFT collection for testing purposes. I'm creating all the necessary account, creating the instructions and sending the transaction. Am I missing something? (I've tried on ...
Joe Ellul-Turner's user avatar
1 vote
1 answer
4k views

What is the difference between mint and freeze authority?

When I have an SPL token, I can revoke freeze authority and I can revoke mint. What is the difference between these two?
Anonim11's user avatar
2 votes
1 answer
43 views

Mint Authority Being a Signer

I am getting error: Instruction does not support native tokens when trying to initialize a new SPL metadata via: // Invoke the create_metadata_account_v3 instruction on the token metadata program ...
AceGravity's user avatar
2 votes
1 answer
175 views

Change existing token's decimal

Is there any way to change a token's decimals when it is already created?
pleasehelpme's user avatar
2 votes
2 answers
99 views

mint token when supply exceeds 2^64/10*decimals

how can I mint new token when my supply exceeds 2 ^^ 64 / 10 x decimals tokens? Or are there any methods to reduce decimals? Help me please
pleasehelpme's user avatar
1 vote
1 answer
2k views

How to check if a solana token creator can change the name or picture of the token that he sold at dex?

Unfortunately I bought a token at Dex which seems the dev rugged and left. Our community now has taken over the token. I want to know if that dev can change anything now? (Including name of the token, ...
Sali's user avatar
  • 13
1 vote
2 answers
421 views

Mint Token as a PDA via SPL

I'm converting my custom SPL token anchor program from using mint token as a newly generated anchor keypair, to using a PDA instead. It seems that SPL can take either a keypair or PDA for the mint ...
AceGravity's user avatar
0 votes
1 answer
416 views

Provided seeds do not result in a valid address

Here is my initialize instruction: pub fn initialize( ctx: Context<Initialize>, token_name: String, token_symbol: String, token_uri: String, ) -> Result<()> { // PDA ...
Yarik Bratashchuk's user avatar
1 vote
3 answers
58 views

NFT Smart Contract [closed]

I have created NFT tokens by using bellow command: spl-token create-token --decimals 0 ntwze65k6HMR4LiKqeyBPbQGSqT4H4cBVXJEkLxid1N.json spl-token create-account ...
Nomanul Haq's user avatar
2 votes
1 answer
123 views

What is the value of MINT_SIZE, the constant from the Solana spl-token package?

When creating a spl-token mint, we pass in the number for supply. What is the value of MINT_SIZE? Is there a way to create a spl-token mint with infinite supply? If not, What is the maximum number of ...
Russell Philips's user avatar
2 votes
2 answers
168 views

Is it possible yet to use mint tokens supporting both transfer fees and confidential transfers?

I can see in the documentation that Token-2022's transfer fees and confidential transfers are supported (or intended to be supported) when used together. However, when I attempt to mint a token with ...
JTB's user avatar
  • 33
1 vote
1 answer
468 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