massa icon indicating copy to clipboard operation
massa copied to clipboard

Test wallet module

Open AureliaDolo opened this issue 2 years ago • 4 comments

  • generate a new wallet from empty temp file
  • assert get_wallet_address_list is empty
  • generate a private key K outside of the wallet
  • assert add_private_key returns the corresponding address to K
  • (assert the file is not empty)
  • assert get_wallet_address_list is returns the corresponding address
  • assert find_associated_private_key returns K
  • assert find_associated_public_key returns the associated public key
  • hash a string and sign it with K, assert sign_message returns the same signature and the associated public key
  • create an operation, sign it with K, assert the output of create_operation is the same signedOperation
  • assert get_full_wallet output the expected output
  • remove_address address corresponding to K
  • assert get_wallet_address_list is empty
  • (assert file is empty)

AureliaDolo avatar Mar 14 '22 12:03 AureliaDolo

Volonteer for this one.

arhuman avatar Jul 23 '22 02:07 arhuman