so confused with the spl token docs here - https://spl.solana.com/token. Can someone tell me if it's possible, using the js lib - to create a spl token (specifying minter and freezer authorities), then mint some tokens to a token account and finally FREEZE the token itself so that no more can be created. But still allow the existing supply to be moved around from token account to token account etc
1
There are 1 best solutions below
Related Questions in SOLANA-PROGRAM-LIBRARY
- How to Mint a Fungible Token with Metadata on Solana using @Solana/web3.js
- How to create a spl22 token?
- Compute fee for Solana transferCheckedWithFee instruction
- How to create an associated token account in solana using the token-2022 program
- Get new tokens on Solana (realtime)
- Candy Machine mintV2: Split Mint fee
- Solana mainnet block height exceeded for transactions with `TransactionExpiredBlockheightExceededError` error
- How to add token metadata to solana token 2022 token created using createInitializeTransferFeeConfigInstruction extension
- Error when attempting to mint SPL token on Solana
- Solana Frontend phantom wallet integration issue for making the transactions on the devnet
- Is it possible to send SPL-Tokens to multiple addresses in 1 or multiple transaction with spltoken cli in Solana
- How to correctly import solders for Pubkey into a project?
- Is it possible to check the Solana program `macro` correctness before deployment?
- Does program keypair has any other usage besides program deployment?
- Transaction failing while calling a Solana program with PDA
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
It is possible. you may not need freeze. freezing is per accociated token account, not the actual token. the example is freeze some address who hold 100 x token so it cant add or transfer x token anywhere anymore.
You can cap the supply by disable mint, running command below (CLI):
spl-token authorize [base58 token address] mint --disable.only the authorized user can do it (the token creator or dev itself). after mint disabled no more token can be created (minted) but still allow existing supply to be moved around.
It use same instruction to cap the supply like how NFT is capped at 1 supply and cant be minted anymore. check JS implementation on the docs, its quite well documented https://spl.solana.com/token#example-create-a-non-fungible-token