mirror of
https://github.com/sonr-io/sonr.git
synced 2026-09-16 23:16:25 +00:00
feat: migrate to blume docs
This commit is contained in:
@@ -3,8 +3,6 @@ title: snrd auth register
|
||||
description: Register a new decentralized identity using WebAuthn/Passkey authentication
|
||||
---
|
||||
|
||||
# snrd auth register
|
||||
|
||||
Register a new decentralized identity using WebAuthn/Passkey authentication.
|
||||
|
||||
This command will:
|
||||
@@ -21,75 +19,34 @@ snrd auth register [flags]
|
||||
|
||||
## Flags
|
||||
|
||||
<ParamField path="username" type="string" required>
|
||||
Username for the new identity
|
||||
</ParamField>
|
||||
|
||||
<ParamField path="auto-vault" type="boolean" default="true">
|
||||
Automatically create vault for DID
|
||||
</ParamField>
|
||||
|
||||
<ParamField path="webauthn" type="boolean" default="true">
|
||||
Use WebAuthn for registration
|
||||
</ParamField>
|
||||
|
||||
<ParamField path="help" type="boolean">
|
||||
Help for register
|
||||
</ParamField>
|
||||
<TypeTable
|
||||
type={{
|
||||
"username": { type: "string", required: true, description: "Username for the new identity" },
|
||||
"auto-vault": { type: "boolean", default: "true", description: "Automatically create vault for DID" },
|
||||
"webauthn": { type: "boolean", default: "true", description: "Use WebAuthn for registration" },
|
||||
"help": { type: "boolean", description: "Help for register" },
|
||||
}}
|
||||
/>
|
||||
|
||||
## 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 (e.g., 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
|
||||
</ParamField>
|
||||
|
||||
<ParamField path="gas-prices" type="string">
|
||||
Gas prices to determine the transaction fee (e.g., 10aatom)
|
||||
</ParamField>
|
||||
|
||||
<ParamField path="home" type="string" default="~/.sonr">
|
||||
Directory for config and data
|
||||
</ParamField>
|
||||
|
||||
<ParamField path="keyring-backend" type="string" default="os">
|
||||
Select keyring's backend
|
||||
</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
|
||||
</ParamField>
|
||||
|
||||
<ParamField path="log_no_color" type="boolean">
|
||||
Disable colored logs
|
||||
</ParamField>
|
||||
|
||||
<ParamField path="node" type="string" default="tcp://localhost:26657">
|
||||
Tendermint RPC interface for this chain
|
||||
</ParamField>
|
||||
|
||||
<ParamField path="trace" type="boolean">
|
||||
Print 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 (e.g., 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" },
|
||||
"gas-prices": { type: "string", description: "Gas prices to determine the transaction fee (e.g., 10aatom)" },
|
||||
"home": { type: "string", default: "~/.sonr", description: "Directory for config and data" },
|
||||
"keyring-backend": { type: "string", default: "os", description: "Select keyring's backend" },
|
||||
"log_format": { type: "string", default: "plain", description: "The logging format (json|plain)" },
|
||||
"log_level": { type: "string", default: "info", description: "The logging level" },
|
||||
"log_no_color": { type: "boolean", description: "Disable colored logs" },
|
||||
"node": { type: "string", default: "tcp://localhost:26657", description: "Tendermint RPC interface for this chain" },
|
||||
"trace": { type: "boolean", description: "Print out full stack trace on errors" },
|
||||
}}
|
||||
/>
|
||||
|
||||
## Examples
|
||||
|
||||
@@ -113,5 +70,5 @@ snrd auth register --username alice --chain-id sonrtest_1-1
|
||||
|
||||
## See Also
|
||||
|
||||
- [snrd auth](./snrd_auth.mdx) - User authentication with Passkeys
|
||||
- [snrd auth login](./snrd_auth_login.mdx) - Login with WebAuthn authentication
|
||||
- [snrd auth](./snrd_auth) - User authentication with Passkeys
|
||||
- [snrd auth login](./snrd_auth) - Login with WebAuthn authentication
|
||||
|
||||
Reference in New Issue
Block a user