Skip to content

Latest commit

 

History

History
66 lines (62 loc) · 4.08 KB

QA_WALLET_SERVICE.md

File metadata and controls

66 lines (62 loc) · 4.08 KB
  1. Wallet Service initialization

    1. Start a new wallet
      1. Send 1.00 HTR from another wallet to the wallet address.
      2. Create a custom token 'WST0', amount 100.
    2. Go to Settings and copy the "Unique identifier"
    3. Go to the unleash dashboard and add it to the list of UserIDs
    4. Close your wallet (not lock) and open it again.
    5. Unlock the wallet and check that your history is showing correctly.
    6. Check that you have balance for HTR (0.99 HTR) and WST0 (100.00 WST0)
    7. Check that you have authorities for mint and melt for WST0.
  2. Wallet screen

    1. Check that you have HTR and other custom tokens on your wallet.
    2. Copy the address and send 1.00 HTR from another wallet to this address.
    3. Check that we receive a notification for the transaction.
    4. Check that the transaction appears in the list, the balance was updated and the address also changed.
    5. Click on 'See all addresses' and see the list.
    6. Search for the address used to send the transaction and check that it has 'Number of transactions' equal to 1.
  3. Custom tokens

    1. Click on 'Custom tokens', then 'Create a new token'.
    2. Create a token 'WS Test Token', 'WTST', amount 100.
    3. Validate its symbol appeared selected in the token bar.
    4. The list of transactions should have only one, with type 'Token creation' and amount of 100.00.
    5. Click on the HTR token (in the token bar) and check if the first transaction is of type 'Token deposit' with amount of 1.00.
  4. Custom token admin

    1. Click on 'WTST' on the token bar and then on 'Administrative tools'
    2. Use the 'Melt tokens' to melt all tokens you have.
    3. Go to 'Balance & History' and check that the 'Total' is 0 and that the melt transaction appears on the list.
    4. Go back to 'Administrative tools' and use 'Mint tokens' mint 100 tokens.
    5. Click on 'Balance & History' and check the mint transaction is on the list.
    6. Check that the 'Total' and 'Available' are 100.00 WTST
    7. Copy the current address and go back to 'Administrative tools'
    8. Use the 'Delegate mint' to the address you copied, keep the 'Create another mint output for you?' checked.
    9. Check that the message under 'Mint authority management' now reads 'You are the owner of 2 mint outputs'.
    10. Use the 'Destroy mint' to destroy one authority.
    11. Check that the message under 'Mint authority management' now reads 'You are the owner of 1 mint output'.
    12. Use the 'Delegate melt' to the address you copied, keep the 'Create another mint output for you?' checked.
    13. Check that the message under 'Melt authority management' now reads 'You are the owner of 2 melt outputs'.
    14. Use the 'Destroy melt' to destroy one authority.
    15. Check that the message under 'Melt authority management' now reads 'You are the owner of 1 melt output'.
  5. Settings

    1. Go to Settings and click on "Change server"
    2. Use the following urls to connect to testnet wallet service.
      1. https://wallet-service.testnet.hathor.network
      2. wss://ws.wallet-service.testnet.hathor.network
    3. Check that you are connected to the testnet in the upper right corner.
    4. Check that your address starts with 'W'.
    5. Go to Settings and click on "Change server"
    6. Connect to the mainnet wallet service.
      1. https://wallet-service.hathor.network
      2. wss://ws.wallet-service.hathor.network
    7. Check that you are connected to the mainnet in the upper right corner.
    8. Check that your address starts with 'H'.
    9. Go to Settings and set "Hide zero-balance tokens" to yes.
    10. Go to "WTST" and melt all tokens.
    11. Check that "WTST" does not appear on the token bar.
    12. Go to Settings and set "Hide zero-balance tokens" to no.
    13. Check that "WTST" appears on the token bar.
    14. Click on "WTST" and go to "About WS Test Token" and change "Always show this token" to yes.
    15. Go to Settings and set "Hide zero-balance tokens" to yes.
    16. Melt all WTST tokens.
    17. Check that "WTST" is still on the token bar.
    18. Check that the "WTST" balance is zero.