Initiate identity verification using Self.xyz ZK identity verificationThe verify-identity command initiates the identity verification process for a wallet address using Self.xyz ZK identity verification. This creates a verification session and provides a QR code URL that users can scan with the Self app to complete their identity verification. To use it, run the following command from your terminal
Option | Description |
---|---|
-w, --walletAddress <address> | User wallet address (Solana public key) |
-f, --fields <fields> | Comma-separated list of fields to verify (issuing_state,name,nationality,date_of_birth,passport_number,gender,expiry_date) |
--json | Output the result as JSON |
Field | Description |
---|---|
issuing_state | Country/state that issued the ID |
name | Full name from ID document |
nationality | Nationality/citizenship |
date_of_birth | Date of birth |
passport_number | Document/passport number |
gender | Gender from ID document |
expiry_date | Document expiration date |
link-wallet
or create-wallet
commands first.check-identity
to monitor verification progress