feat: add restore command

This commit is contained in:
Vlad Stan
2022-08-03 13:50:01 +03:00
parent 559b4a663c
commit 412dc8b579
3 changed files with 122 additions and 3 deletions
@@ -6,6 +6,7 @@ const COMMAND_SIGN_PSBT = '/sign'
const COMMAND_HELP = '/help'
const COMMAND_WIPE = '/wipe'
const COMMAND_SEED = '/seed'
const COMMAND_RESTORE = '/restore'
const blockTimeToDate = blockTime =>
blockTime ? moment(blockTime * 1000).format('LLL') : ''