sui
sui copied to clipboard
Use SuiClient instead of RPCGatewayClient in Sui CLI
Changes
- Replaced
RPCGatewayClientwithSuiClient - Cleaned up Sui-gateway dependencies
- Use
SuiClientin Sui CLI, preparing it to support querying full nodes. - Enhance Sui SDK apis to make it more rust friendly
- Use
TransactionDataandTransactioninstead ofTransactionBytesand raw Base64 encoded bytes. - Added method in
SuiKeystoreto returnSignerfor transaction signing
- Use
TODOs
- add commands to support querying full node in Sui CLI
-
SuiClientshould check for the RPC server's available modules and handle it gracefully (and better error msg) when user invoke an unsupported method.
hi @lxfind @longbowlu @joyqvq can I get a thumbs up from you guys :)
Hi Patrick,
Is this something we should announce? Any changes needed to the Sui CLI client docs? Thanks!
Hi Patrick,
Is this something we should announce? Any changes needed to the Sui CLI client docs? Thanks!
All the doc changes are covered in this PR, we still haven't publicly announced the Rust SDK, I will sync with Janet.