You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/soroban-cli/src/commands/message/sign.rs
+8-3Lines changed: 8 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ use clap::Parser;
5
5
use sha2::{Digest,Sha256};
6
6
7
7
usecrate::{
8
-
commands::global,
8
+
commands::{global,HEADING_SIGNING},
9
9
config::{locator, secret},
10
10
print::Print,
11
11
signer::{self,Signer},
@@ -57,10 +57,15 @@ pub struct Cmd {
57
57
58
58
// @dev: Ledger and Lab don't support signing arbitrary messages yet. Once they do, use `sign_with::Args` here.
59
59
/// Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, `--hd-path` defaults to the `0` path.
/// If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. `m/44'/148'/{hd_path}`. Example: `--hd-path 1`. Default: `0`
Copy file name to clipboardExpand all lines: cmd/soroban-cli/src/config/sign_with.rs
+16-4Lines changed: 16 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@ use super::{
10
10
network::{self,Network},
11
11
secret,
12
12
};
13
+
usecrate::commands::HEADING_SIGNING;
13
14
14
15
#[derive(thiserror::Error,Debug)]
15
16
pubenumError{
@@ -37,24 +38,35 @@ pub enum Error {
37
38
#[group(skip)]
38
39
pubstructArgs{
39
40
/// Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, `--hd-path` defaults to the `0` path.
/// If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. `m/44'/148'/{hd_path}`. Example: `--hd-path 1`. Default: `0`
0 commit comments