Merge pull request #4578 from nymtech/update-sign-nym-node

updating sign commands to include nym-node
This commit is contained in:
benedetta davico
2024-05-07 14:50:51 +02:00
committed by GitHub
2 changed files with 14 additions and 2 deletions
@@ -60,10 +60,16 @@ const GatewaySignatureForm = ({
return (
<Stack gap={3} mb={3}>
<Typography variant="body1">
Copy below message and sign it with your gateway using the following command
Copy the message below and sign it:
<br />
If you are using a nym-gateway:
<br />
<code>nym-gateway sign --id &lt;your-node-id&gt; --contract-msg &lt;payload-generated-by-the-wallet&gt;</code>
<br />
If you are using a nym-node:
<br />
<code>nym-node sign --id &lt;your-node-id&gt; --contract-msg &lt;payload-generated-by-the-wallet&gt;</code>
<br />
Then paste the signature in the next field.
</Typography>
<TextField id="outlined-multiline-static" multiline rows={7} value={message} fullWidth disabled />
@@ -61,10 +61,16 @@ const MixnodeSignatureForm = ({
return (
<Stack gap={3} mb={3}>
<Typography variant="body1">
Copy below message and sign it with your mix node using the following command
Copy the message below and sign it:
<br />
If you are using a nym-mixnode:
<br />
<code>nym-mixnode sign --id &lt;your-node-id&gt; --contract-msg &lt;payload-generated-by-the-wallet&gt;</code>
<br />
If you are using a nym-node:
<br />
<code>nym-node sign --id &lt;your-node-id&gt; --contract-msg &lt;payload-generated-by-the-wallet&gt;</code>
<br />
Then paste the signature in the next field.
</Typography>
<TextField id="outlined-multiline-static" multiline rows={7} value={message} fullWidth disabled />