Skip to main content

DID Commands

Commands

chia_createNewDIDWallet

Creates a new DID profile.

ParameterTypeDescription
amountnumberAmount in mojos.
feenumberTransaction fee in mojos.
backupDidsstring[]Associated backup DIDs.
numOfBackupIdsNeedednumberNumber of backup DIDs needed.

Output Data

ParameterTypeDescription
typeWalletTypeType of wallet (8 for DIDs).
myDidstringBech32m encoded DID address.
walletIdnumberCreated wallet id.
successbooleanBackend success status.

chia_setDIDName

Sets the name of a DID wallet.

ParameterTypeDescription
walletIdnumberWallet id.
namestringWallet name.

Output Data

ParameterTypeDescription
walletIdnumberWallet id.
successbooleanBackend success status.