solana docs: don't generate txn online

This commit is contained in:
Ryan Heywood 2024-11-29 11:46:18 -05:00
parent 490bb7254b
commit 5ce44edd92
Signed by: ryan
GPG Key ID: 8E401478A3FBEF72
1 changed files with 3 additions and 3 deletions

View File

@ -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