根据不同场景,它可分为 3 种模式:

  • 钱包打开之前 handle_easymenu_pre_open_command
  • 钱包打开之后 handle_easymenu_post_open_command
  • 菜单模式 handle_prompt_command(内容和上述的“钱包打开模式”基本一样)

main

update_prompt

// update prompt as and when necessary

Create_New_Wallet

// create a new wallet from scratch from random numbers

choose_seed_language

// helper function to let user to choose a seed in specific lanaguage

choose_file_name

// lets the user choose a filename or use default

read_line_with_prompt

// read a line from the prompt
// since we cannot query existing, we can get away by using password mode with

filterInput

// filter out specfic inputs from input processing
// currently we only skip CtrlZ background key

results matching ""

    No results matching ""