solana-labs / solana-program-library

A collection of Solana programs maintained by Solana Labs
https://solanalabs.com
Apache License 2.0
3.44k stars 2.02k forks source link

token-cli: Support confidential transfers #3065

Open ghost opened 2 years ago

ghost commented 2 years ago

I could not find anything in docs. Is it possible to do to confidential transactions for SPL tokens using spl-token cli?

Assuming this was added in solana-program-library: https://github.com/solana-labs/solana-program-library/tree/master/token/program-2022/src/extension/confidential_transfer

solana --version
solana-cli 1.10.6 (src:8d5c7b7d; feat:3235626988)

spl-token --version
spl-token-cli 2.0.15
joncinque commented 2 years ago

The CLI currently doesn't support this, but once Solana 1.11 lands, then we can land #3071 and add support using the spl-token-client crate

ghost commented 2 years ago

The CLI currently doesn't support this, but once Solana 1.11 lands, then we can land #3071 and add support using the spl-token-client crate

@joncinque last release for solana was 1.11 and #3071 is merged so can we use confidential transactions now?

joncinque commented 2 years ago

I believe we still need to upgrade this repo to use 1.11, and we're holding off until 1.11 is branched off from master. After that, this should definitely be unblocked. The work will still need to be done to support the transfers, and we'll have to double the size of transactions on the network.

So there's still a few bits to be done before this is totally supported!