hi i am new to solana with the aim to create spl-token but when i create 2 keypair, one for contract address and two for holding spl token. When I wanted to top up the gas fee I got a deposit error on the contract account and when I wanted to send it again the CLI command didn't work. the command I use :
solana transfer --from dev.json DybfqR2xGdGYw7sygWMryCMSSEUn4KSZuQ1wuoAhc3T 2 --url https://api.mainnet-beta.solana.com --fee-payer spl.json
output : Error: RPC response error -32002: Transaction simulation failed: Error processing Instruction 0: invalid program argument [3 log messages]
solana transfer --from dev.json DybfqR2xGdGYw7sygWMryCMSSEUn4KSZuQ1wuoAhc3T 2 --url https://api.mainnet-beta.solana.com --fee-payer dev.json
output : Error: RPC response error -32002: Transaction simulation failed: This account may not be used to pay transaction fees
software v1.17.5
Hi thank you and sorry for the delay. So how do I withdraw my $SOL in the dev.json wallet? I always get the output: Transaction simulation failed: This account may not be used to pay transaction fees.
I have imported the private key into soflare wallet to submit and got the output as shown below: