For a super quick test and to avoid the hurdle of creating an account, sending funds to it and finally create a transaction as described in the tutorial using MyCrypto, you can use a pre-funded account on Kovan Network and the following workflow. To get access to this account, you need to:
- Recover an account
- Select
Kovan
network and choose a name - Use the secret phrase:
this is sparta
you'll get the account address:006E27B6A72E1f34C626762F3C4761547Aff1421
- Validate and accept the warning message
- Chose a pin code
- Scan this QR code to sign a transaction sending some Kovan Eth to the same account.
Corresponding data:
{
"action": "signTransaction",
"data": {
"account": "006e27b6a72e1f34c626762f3c4761547aff1421",
"rlp": "ea1584ee6b280082520894006e27b6a72e1f34c626762f3c4761547aff1421872386f26fc10000802a8080"
}
}
If dependencies are not installed please first run yarn install:ios
or yarn install
for android.
Run yarn unit
for all the units test.
If debugging is needed:
- Insert
debugger;
in the code where you think it fails. - Run
yarn unit:debug
- Open a new tab in Chrome and go to
chrome://inspect
- Click the
inspect
button of target underRemote Target
- Back to the terminal, choose one of the node watch commands to run the tests again.