Reset device
Perform device setup and generate new seed.
const result = await TrezorConnect.resetDevice(params);
Params
strength
— optionalnumber
Accepted values are [128|192|256]. Default is set to256
label
— optionalstring
u2fCounter
— optionalnumber
. Default value is set to current time stamp in seconds.pinProtection
— optionalboolean
passphraseProtection
— optionalboolean
skipBackup
— optionalboolean
noBackup
— optionalboolean
create a seedless device
Example
TrezorConnect.resetDevice({
label: 'My fancy Trezor',
});
Result
Success type
{
success: true,
payload: {
message: 'Device successfully initialized'
}
}
Error
{
success: false,
payload: {
error: string // error message
}
}