zk-agent-cli 0.1.0-beta.6 → 0.1.0-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -76,11 +76,13 @@ zk-agent workflow pay --wallet main --to <address> --amount <amount>
|
|
|
76
76
|
```
|
|
77
77
|
|
|
78
78
|
If a wallet already exists, inspect the blocker first. Use `wallet reapprove`
|
|
79
|
-
when approval is missing or expired
|
|
80
|
-
is still present but the local execution
|
|
79
|
+
when approval is missing or expired, then return to `zk-agent next`. Use
|
|
80
|
+
`wallet signer attach` when approval is still present but the local execution
|
|
81
|
+
signer is missing:
|
|
81
82
|
|
|
82
83
|
```bash
|
|
83
84
|
zk-agent wallet reapprove --name main --await-local
|
|
85
|
+
zk-agent next
|
|
84
86
|
zk-agent wallet signer attach --name main --private-key <hex>
|
|
85
87
|
zk-agent next
|
|
86
88
|
```
|
|
@@ -122,11 +124,15 @@ If the wallet already exists and approval metadata needs to be refreshed, use:
|
|
|
122
124
|
zk-agent wallet reapprove --name main --relay-url <relay-url> --wait-relay --prompt-code
|
|
123
125
|
```
|
|
124
126
|
|
|
127
|
+
Treat that hosted path as the fallback when the browser is not colocated with
|
|
128
|
+
the terminal; keep the local `--await-local` path as the default baseline.
|
|
129
|
+
|
|
125
130
|
If approval is still present and only the local execution signer is missing,
|
|
126
131
|
repair that locally instead of forcing a new approval round-trip:
|
|
127
132
|
|
|
128
133
|
```bash
|
|
129
134
|
zk-agent wallet signer attach --name main --private-key <hex>
|
|
135
|
+
zk-agent next
|
|
130
136
|
```
|
|
131
137
|
|
|
132
138
|
Local relay prototype path:
|