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: packages/docs/pages/users/transparent-accounts/multisignature.mdx
+20-24Lines changed: 20 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,41 +51,38 @@ being submitted to the chain.
51
51
52
52
<Steps>
53
53
### Dump the raw tx
54
-
The `--dump-tx` argument will write the transaction to disk. A folder is required to be specified where the transaction will be dumped.
55
-
54
+
The `--dump-tx` argument will write the transaction to disk. A folder is required to be specified where the transaction will be dumped (use `.` for the current directory).
Transaction serialized to tx_dumps/FC2955C6B252EF6E93B1B54923B2178A7DC47E06D27448A43426487DF4BAD0E3.tx.
63
+
Transaction serialized to ./9c92fe1f2cdc64956582e69b898101e6df78700968fcad5e88bfc1cdf0a5496d.tx.
65
64
```
66
65
<Callouttype="info">
67
-
By default, transactions have an expiration of *1 hour* from the time they're created. This can be changed using the `expiration-date` flag and providing a new
68
-
expiration time (in UTC). You can also use the `no-expiration` flag to set no expiry; although this option is discouraged and should be used with caution.
69
-
70
-
Transactions submitted after expiry will not be accepted on-chain.
66
+
By default, transactions have an expiration of *1 hour* from the time they're created. This can be changed using the `--expiration` flag and providing a new
67
+
expiration time (in UTC). Transactions submitted after expiry will not be accepted on-chain.
71
68
</Callout>
72
69
73
-
### Sign the transaction with two of the three Keys
74
-
This command will sign the transaction with Alice's key. Afterwards, repeat the command using Bob's key.
70
+
### Sign the transaction with the necessary number of keys (2 in this case)
71
+
This command will sign the transaction with Alice's key and Bob's key:
To make things easier in the next step, we'll save these filenames to the shell variables `TX`, `SIG1` and `SIG2`.
91
88
@@ -97,8 +94,7 @@ an implicit account that will pay the transaction fees.
97
94
namadac tx \
98
95
--tx-path $TX \
99
96
--signatures $SIG1$SIG2 \
100
-
--owner abc-multisig \
101
-
--gas-payer alice
97
+
--gas-payer alice --node $NODE
102
98
```
103
99
<Callouttype="info">
104
100
Note the lack of commas used in the `--signatures` argument.
@@ -116,7 +112,7 @@ namadac update-account \
116
112
--address abc-multisig \
117
113
--public-keys alice,bob,charlie \
118
114
--threshold 1 \
119
-
--signing-keys alice,bob
115
+
--signing-keys alice,bob --node $NODE
120
116
```
121
117
<Callouttype="info">
122
118
Note: you must include both the threshold and the list of public keys to be associated with this account, even if there is no change to one of those values.
@@ -132,7 +128,7 @@ to a file and collect the required signatures.
132
128
One can check that the threshold has been updated correctly by running:
133
129
```shell
134
130
namadac query-account \
135
-
--owner abc-multisig
131
+
--owner abc-multisig --node $NODE
136
132
```
137
133
This will list the threshold and all associated public keys of an account.
0 commit comments