snrd auth register

Register a new decentralized identity using WebAuthn/Passkey authentication. This command will:
  1. Start a local auth server
  2. Open your browser for WebAuthn credential creation
  3. Create a DID document with your WebAuthn credential
  4. Auto-create a DWN vault for data storage

Usage

snrd auth register [flags]

Flags

username
string
required
Username for the new identity
auto-vault
boolean
default:"true"
Automatically create vault for DID
webauthn
boolean
default:"true"
Use WebAuthn for registration
help
boolean
Help for register

Global Flags

broadcast-mode
string
default:"sync"
Transaction broadcasting mode (sync|async)
chain-id
string
Specify Chain ID for sending Tx
fees
string
Fees to pay along with transaction (e.g., 10aatom)
from
string
Name or address of private key with which to sign
gas-adjustment
float
default:"1"
Adjustment factor to be multiplied against the estimate returned by the tx simulation
gas-prices
string
Gas prices to determine the transaction fee (e.g., 10aatom)
home
string
default:"~/.sonr"
Directory for config and data
keyring-backend
string
default:"os"
Select keyring’s backend
log_format
string
default:"plain"
The logging format (json|plain)
log_level
string
default:"info"
The logging level
log_no_color
boolean
Disable colored logs
node
string
default:"tcp://localhost:26657"
Tendermint RPC interface for this chain
trace
boolean
Print out full stack trace on errors

Examples

Basic registration

snrd auth register --username alice

Registration without auto vault creation

snrd auth register --username alice --auto-vault=false

Registration with custom chain ID

snrd auth register --username alice --chain-id sonrtest_1-1

See Also