0% found this document useful (0 votes)
307 views4 pages

SPL Token Authority Changes

Uploaded by

2024eb02377
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
307 views4 pages

SPL Token Authority Changes

Uploaded by

2024eb02377
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 4

akshatsipany@Akshats-MacBook-Air ~ % spl-token create-token

Creating token BWdcAYDA8AoSLZt5aKaCVDVkhtJFD8CM56WpRdyppV99 under program


TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA
Error: Client(Error { request: Some(SendTransaction), kind:
RpcError(RpcResponseError { code: -32002, message: "Transaction simulation failed:
Attempt to debit an account but found no record of a prior credit.", data:
SendTransactionPreflightFailure(RpcSimulateTransactionResult { err:
Some(AccountNotFound), logs: Some([]), accounts: None, units_consumed: Some(0),
return_data: None, inner_instructions: None }) }) })
akshatsipany@Akshats-MacBook-Air ~ % spl-token create-token

Creating token DHro7Xidu8BJXMzqt5yGVcD8tBjgr4Dw3vaQzjzkMATK under program


TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA
Error: Client(Error { request: Some(SendTransaction), kind:
RpcError(RpcResponseError { code: -32002, message: "Transaction simulation failed:
Attempt to debit an account but found no record of a prior credit.", data:
SendTransactionPreflightFailure(RpcSimulateTransactionResult { err:
Some(AccountNotFound), logs: Some([]), accounts: None, units_consumed: Some(0),
return_data: None, inner_instructions: None }) }) })
akshatsipany@Akshats-MacBook-Air ~ % solana airdrop 1

Requesting airdrop of 1 SOL


Error: airdrop request failed. This can happen when the rate limit is reached.
akshatsipany@Akshats-MacBook-Air ~ % clear

akshatsipany@Akshats-MacBook-Air ~ % solana address

3SWZJQNMTx828AfvQG6nZcNtp2aRYemVRvmpV5wuCgT2
akshatsipany@Akshats-MacBook-Air ~ % solana config get

Config File: /Users/akshatsipany/.config/solana/cli/config.yml


RPC URL: https://api.devnet.solana.com
WebSocket URL: wss://api.devnet.solana.com/ (computed)
Keypair Path: /Users/akshatsipany/new-wallet.json
Commitment: confirmed
akshatsipany@Akshats-MacBook-Air ~ % cat /Users/akshatsipany/new-wallet.json
/Users/akshatsipany/new-wallet.json
[164,140,49,246,91,73,61,15,233,240,105,52,79,122,50,52,242,177,140,237,184,138,170
,83,189,74,103,30,104,164,203,170,36,64,80,109,114,121,173,234,241,209,175,77,222,3
8,56,50,138,47,127,114,70,27,44,54,87,237,3,129,211,95,183,25]%
akshatsipany@Akshats-MacBook-Air ~ % spl-token create-token

Creating token CiEBF1LWy9rvQmCjr47WmicdR9AV3fLUtV3xYfTh2HfR under program


TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA

Address: CiEBF1LWy9rvQmCjr47WmicdR9AV3fLUtV3xYfTh2HfR
Decimals: 9

Signature:
5ybzBi4dmdkJhc7HpBAd59rr8BYKX228vr2ik5VmzGd3MdsrUz2jC3u1skWkgFpouaESYKTFSQS7B7dGw4u
Brm2J

akshatsipany@Akshats-MacBook-Air ~ % spl-token create-account


CiEBF1LWy9rvQmCjr47WmicdR9AV3fLUtV3xYfTh2HfR
CiEBF1LWy9rvQmCjr47WmicdR9AV3fLUtV3xYfTh2HfR
Creating account FWLkhC98grEAxG5HTi8NYVYWgHNYkpEkeEkpWdCGbvv6

Signature:
4thyRZd6dSyKMoXKUex34o3MyEU8Yb1w1jKjzcPqZbb5qNkC64pMfkE7dGXS1zsfnaCYBRqTFS1uNH3KRZZ
nUFY4

akshatsipany@Akshats-MacBook-Air ~ % spl-token mint <token_mint_address>


10000000000
spl-token mint <token_mint_address> 10000000000
zsh: no such file or directory: token_mint_address
akshatsipany@Akshats-MacBook-Air ~ % spl-token mint
CiEBF1LWy9rvQmCjr47WmicdR9AV3fLUtV3xYfTh2HfR 10000000000

Minting 10000000000 tokens


Token: CiEBF1LWy9rvQmCjr47WmicdR9AV3fLUtV3xYfTh2HfR
Recipient: FWLkhC98grEAxG5HTi8NYVYWgHNYkpEkeEkpWdCGbvv6

Signature:
5DYEDnswUmSkLvMWp7BxesPG7xDQh757uDWUFzKXzfvCzCoTFTThWmVPF56PSt5sRx3TXPGVuFf37xKdTxN
j7DuX

akshatsipany@Akshats-MacBook-Air ~ % spl-token authorize


CiEBF1LWy9rvQmCjr47WmicdR9AV3fLUtV3xYfTh2HfR mint --disable
CiEBF1LWy9rvQmCjr47WmicdR9AV3fLUtV3xYfTh2HfR
Updating CiEBF1LWy9rvQmCjr47WmicdR9AV3fLUtV3xYfTh2HfR
Current mint: 3SWZJQNMTx828AfvQG6nZcNtp2aRYemVRvmpV5wuCgT2
New mint: disabled

Signature:
4c5mzqT9kG1ry1nheVc36uqvGVzWGvVH2YwiA4VKVa8WgHgTkoYEJwjNGVMqpde2UosFpnU2MP1nAXNxcM3
Dyqqp
akshatsipany@Akshats-MacBook-Air ~ % spl-token mint
CiEBF1LWy9rvQmCjr47WmicdR9AV3fLUtV3xYfTh2HfR 10000000000
CiEBF1LWy9rvQmCjr47WmicdR9AV3fLUtV3xYfTh2HfR
Minting 10000000000 tokens
Token: CiEBF1LWy9rvQmCjr47WmicdR9AV3fLUtV3xYfTh2HfR
Recipient: FWLkhC98grEAxG5HTi8NYVYWgHNYkpEkeEkpWdCGbvv6
Error: Client(Error { request: Some(SendTransaction), kind:
RpcError(RpcResponseError { code: -32002, message: "Transaction simulation failed:
Error processing Instruction 0: custom program error: 0x5", data:
SendTransactionPreflightFailure(RpcSimulateTransactionResult { err:
Some(InstructionError(0, Custom(5))), logs: Some(["Program
TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [1]", "Program log: Instruction:
MintToChecked", "Program log: Error: the total supply of this token is fixed",
"Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 4147 of 4147 compute
units", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA failed: custom program
error: 0x5"]), accounts: None, units_consumed: Some(4147), return_data: None,
inner_instructions: None }) }) })
akshatsipany@Akshats-MacBook-Air ~ % spl-token authorize
CiEBF1LWy9rvQmCjr47WmicdR9AV3fLUtV3xYfTh2HfR mint --enable

error: Found argument '--enable' which wasn't expected, or isn't valid in this
context

USAGE:
spl-token authorize [FLAGS] [OPTIONS] <TOKEN_ADDRESS> <AUTHORITY_TYPE>
<AUTHORITY_ADDRESS>

For more information try --help


akshatsipany@Akshats-MacBook-Air ~ % spl-token authorize
CiEBF1LWy9rvQmCjr47WmicdR9AV3fLUtV3xYfTh2HfR

error: The following required arguments were not provided:


<AUTHORITY_TYPE>
<AUTHORITY_ADDRESS>

USAGE:
spl-token authorize [FLAGS] [OPTIONS] <TOKEN_ADDRESS> <AUTHORITY_TYPE>
<AUTHORITY_ADDRESS>

For more information try --help


akshatsipany@Akshats-MacBook-Air ~ % spl-token authorize
CiEBF1LWy9rvQmCjr47WmicdR9AV3fLUtV3xYfTh2HfR mint

error: The following required arguments were not provided:


<AUTHORITY_ADDRESS>

USAGE:
spl-token authorize [FLAGS] [OPTIONS] <TOKEN_ADDRESS> <AUTHORITY_TYPE>
<AUTHORITY_ADDRESS>

For more information try --help


akshatsipany@Akshats-MacBook-Air ~ % spl-token authorize
CiEBF1LWy9rvQmCjr47WmicdR9AV3fLUtV3xYfTh2HfR mint
3SWZJQNMTx828AfvQG6nZcNtp2aRYemVRvmpV5wuCgT2
3SWZJQNMTx828AfvQG6nZcNtp2aRYemVRvmpV5wuCgT2
Updating CiEBF1LWy9rvQmCjr47WmicdR9AV3fLUtV3xYfTh2HfR
Current mint: disabled
New mint: 3SWZJQNMTx828AfvQG6nZcNtp2aRYemVRvmpV5wuCgT2
Error: Client(Error { request: Some(SendTransaction), kind:
RpcError(RpcResponseError { code: -32002, message: "Transaction simulation failed:
Error processing Instruction 0: custom program error: 0x5", data:
SendTransactionPreflightFailure(RpcSimulateTransactionResult { err:
Some(InstructionError(0, Custom(5))), logs: Some(["Program
TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [1]", "Program log: Instruction:
SetAuthority", "Program log: Error: the total supply of this token is fixed",
"Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 2667 of 2667 compute
units", "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA failed: custom program
error: 0x5"]), accounts: None, units_consumed: Some(2667), return_data: None,
inner_instructions: None }) }) })
akshatsipany@Akshats-MacBook-Air ~ % spl-token supply
CiEBF1LWy9rvQmCjr47WmicdR9AV3fLUtV3xYfTh2HfR
CiEBF1LWy9rvQmCjr47WmicdR9AV3fLUtV3xYfTh2HfR
10000000000

akshatsipany@Akshats-MacBook-Air ~ %

You might also like