I am trying to understand Solana Confidential Transfers, so I ran this script from the official Solana repository for a simple demonstration
However, I received an error when running this line in the script above, when trying to configure the confidential transfer account
spl-token create-account "$mint_pubkey" confidential-source.json
The error is shown below
+ spl-token configure-confidential-transfer-account --address DCCjUaxxhBHn8ZSddFRxfYLr7mbXE5dP2DzV3mn3is4C
Error: Client(Error { request: Some(SendTransaction), kind: RpcError(RpcResponseError { code: -32002, message: "Transaction simulation failed: Attempt to load a program that does not exist", data: SendTransactionPreflightFailure(RpcSimulateTransactionResult { err: Some(ProgramAccountNotFound), logs: Some([]), accounts: None, units_consumed: Some(0), return_data: None }) }) })
I ensured that the command below was run beforehand
spl-token create-account "$mint_pubkey" confidential-source.json
Am new to Solana, came from EVM background so I may be missing some gaps in my understanding