From 5ce44edd92281bac385e2e286fad813badf473bd Mon Sep 17 00:00:00 2001 From: ryan Date: Fri, 29 Nov 2024 11:46:18 -0500 Subject: [PATCH] solana docs: don't generate txn online --- crates/by-chain/icepick-solana/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/by-chain/icepick-solana/src/lib.rs b/crates/by-chain/icepick-solana/src/lib.rs index ec3fb42..71ae395 100644 --- a/crates/by-chain/icepick-solana/src/lib.rs +++ b/crates/by-chain/icepick-solana/src/lib.rs @@ -30,11 +30,11 @@ //! //! ```sh //! # On an online system -//! blockhash=$(icepick sol get-blockhash | jq -r .blob) -//! icepick sol transfer $amount $to_address $from_address $blockhash > sdcard/unsigned.json +//! icepick sol get-blockhash > sdcard/blockhash.json //! //! # On an offline system -//! icepick sol sign < sdcard/unsigned.json > sdcard/signed.json +//! blockhash=$(jq -r .blob sdcard/blockhash.json) +//! icepick sol transfer $amount $to_address $from_address $blockhash | icepick sol sign > sdcard/signed.json //! //! # On the online system, again //! icepick sol broadcast < sdcard/signed.json