feat: migrate to blume docs

This commit is contained in:
Prad Nukala
2026-09-02 16:53:38 -04:00
parent b1a622ea13
commit 432ef49207
163 changed files with 2327 additions and 9908 deletions
+41 -131
View File
@@ -3,10 +3,6 @@ title: snrd keys add
description: Derive a new private key and encrypt to disk.
---
# snrd keys add
Derive a new private key and encrypt to disk.
## Usage
```shell
@@ -15,135 +11,49 @@ snrd keys add <name> [flags]
## Flags
<ParamField path="account" type="integer">
Account number for HD derivation (less than equal 2147483647)
</ParamField>
<ParamField path="coin-type" type="integer" default="60">
coin type number for HD derivation
</ParamField>
<ParamField path="dry-run" type="string">
action, but don't add key to local keystore
</ParamField>
<ParamField path="hd-path" type="string">
Manual HD Path derivation (overrides BIP44 config)
</ParamField>
<ParamField path="help" type="string">
for add
</ParamField>
<ParamField path="index" type="integer">
Address index number for HD derivation (less than equal 2147483647)
</ParamField>
<ParamField path="interactive" type="string">
prompt user for BIP39 passphrase and mnemonic
</ParamField>
<ParamField path="key-type" type="string" default="eth_secp256k1">
Key signing algorithm to generate keys for
</ParamField>
<ParamField path="ledger" type="string">
a local reference to a private key on a Ledger device
</ParamField>
<ParamField path="multisig" type="string">
List of key names stored in keyring to construct a public legacy multisig key
</ParamField>
<ParamField path="multisig-threshold" type="integer" default="1">
K out of N required signatures. For use in conjunction with --multisig
</ParamField>
<ParamField path="no-backup" type="string">
print out seed phrase (if others are watching the terminal)
</ParamField>
<ParamField path="nosort" type="string">
passed to --multisig are taken in the order they're supplied
</ParamField>
<ParamField path="pubkey" type="string">
Parse a public key in JSON format and saves key info to &lt;name&gt; file.
</ParamField>
<ParamField path="pubkey-base64" type="string">
Parse a public key in base64 format and saves key info.
</ParamField>
<ParamField path="recover" type="string">
seed phrase to recover existing key instead of creating
</ParamField>
<ParamField path="source" type="string">
Import mnemonic from a file (only usable when recover or interactive is passed)
</ParamField>
<TypeTable
type={{
"account": { type: "integer", description: "Account number for HD derivation (less than equal 2147483647)" },
"coin-type": { type: "integer", default: "60", description: "coin type number for HD derivation" },
"dry-run": { type: "string", description: "action, but don't add key to local keystore" },
"hd-path": { type: "string", description: "Manual HD Path derivation (overrides BIP44 config)" },
"help": { type: "string", description: "for add" },
"index": { type: "integer", description: "Address index number for HD derivation (less than equal 2147483647)" },
"interactive": { type: "string", description: "prompt user for BIP39 passphrase and mnemonic" },
"key-type": { type: "string", default: "eth_secp256k1", description: "Key signing algorithm to generate keys for" },
"ledger": { type: "string", description: "a local reference to a private key on a Ledger device" },
"multisig": { type: "string", description: "List of key names stored in keyring to construct a public legacy multisig key" },
"multisig-threshold": { type: "integer", default: "1", description: "K out of N required signatures. For use in conjunction with --multisig" },
"no-backup": { type: "string", description: "print out seed phrase (if others are watching the terminal)" },
"nosort": { type: "string", description: "passed to --multisig are taken in the order they're supplied" },
"pubkey": { type: "string", description: "Parse a public key in JSON format and saves key info to &lt;name&gt; file." },
"pubkey-base64": { type: "string", description: "Parse a public key in base64 format and saves key info." },
"recover": { type: "string", description: "seed phrase to recover existing key instead of creating" },
"source": { type: "string", description: "Import mnemonic from a file (only usable when recover or interactive is passed)" },
}}
/>
## Global Flags
<ParamField path="broadcast-mode" type="string" default="sync">
Transaction broadcasting mode (sync|async)
</ParamField>
<ParamField path="chain-id" type="string">
Specify Chain ID for sending Tx
</ParamField>
<ParamField path="fees" type="string">
Fees to pay along with transaction; eg: 10aatom
</ParamField>
<ParamField path="from" type="string">
Name or address of private key with which to sign
</ParamField>
<ParamField path="gas-adjustment" type="float" default="1">
adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored
</ParamField>
<ParamField path="gas-prices" type="string">
Gas prices to determine the transaction fee (e.g. 10aatom)
</ParamField>
<ParamField path="home" type="string" default="/Users/prad/.sonr">
The application home directory
</ParamField>
<ParamField path="keyring-backend" type="string" default="os">
Select keyring's backend (os|file|test)
</ParamField>
<ParamField path="keyring-dir" type="string">
The client Keyring directory; if omitted, the default 'home' directory will be used
</ParamField>
<ParamField path="log_format" type="string" default="plain">
The logging format (json|plain)
</ParamField>
<ParamField path="log_level" type="string" default="info">
The logging level (trace|debug|info|warn|error|fatal|panic|disabled or '*:&lt;level&gt;,&lt;key&gt;:&lt;level&gt;')
</ParamField>
<ParamField path="log_no_color" type="string">
colored logs
</ParamField>
<ParamField path="node" type="string" default="tcp://localhost:26657">
&lt;host&gt;:&lt;port&gt; to tendermint rpc interface for this chain
</ParamField>
<ParamField path="output" type="string" default="text">
Output format (text|json)
</ParamField>
<ParamField path="trace" type="string">
out full stack trace on errors
</ParamField>
<TypeTable
type={{
"broadcast-mode": { type: "string", default: "sync", description: "Transaction broadcasting mode (sync|async)" },
"chain-id": { type: "string", description: "Specify Chain ID for sending Tx" },
"fees": { type: "string", description: "Fees to pay along with transaction; eg: 10aatom" },
"from": { type: "string", description: "Name or address of private key with which to sign" },
"gas-adjustment": { type: "float", default: "1", description: "adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored" },
"gas-prices": { type: "string", description: "Gas prices to determine the transaction fee (e.g. 10aatom)" },
"home": { type: "string", default: "/Users/prad/.sonr", description: "The application home directory" },
"keyring-backend": { type: "string", default: "os", description: "Select keyring's backend (os|file|test)" },
"keyring-dir": { type: "string", description: "The client Keyring directory; if omitted, the default 'home' directory will be used" },
"log_format": { type: "string", default: "plain", description: "The logging format (json|plain)" },
"log_level": { type: "string", default: "info", description: "The logging level (trace|debug|info|warn|error|fatal|panic|disabled or '*:&lt;level&gt;,&lt;key&gt;:&lt;level&gt;')" },
"log_no_color": { type: "string", description: "colored logs" },
"node": { type: "string", default: "tcp://localhost:26657", description: "&lt;host&gt;:&lt;port&gt; to tendermint rpc interface for this chain" },
"output": { type: "string", default: "text", description: "Output format (text|json)" },
"trace": { type: "string", description: "out full stack trace on errors" },
}}
/>
## Examples
@@ -155,4 +65,4 @@ snrd keys add alice
## See Also
- [snrd keys](./snrd_keys.mdx) - Parent command
- [snrd keys](./snrd_keys) - Parent command