solana docs: don't generate txn online
This commit is contained in:
parent
490bb7254b
commit
5ce44edd92
|
@ -30,11 +30,11 @@
|
||||||
//!
|
//!
|
||||||
//! ```sh
|
//! ```sh
|
||||||
//! # On an online system
|
//! # On an online system
|
||||||
//! blockhash=$(icepick sol get-blockhash | jq -r .blob)
|
//! icepick sol get-blockhash > sdcard/blockhash.json
|
||||||
//! icepick sol transfer $amount $to_address $from_address $blockhash > sdcard/unsigned.json
|
|
||||||
//!
|
//!
|
||||||
//! # On an offline system
|
//! # 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
|
//! # On the online system, again
|
||||||
//! icepick sol broadcast < sdcard/signed.json
|
//! icepick sol broadcast < sdcard/signed.json
|
||||||
|
|
Loading…
Reference in New Issue