-
Notifications
You must be signed in to change notification settings - Fork 3
Testing
Reset your Metamask account just in case you have already run some transactions on the testnet.
Create an account. The page will automatically refresh once your account is created.
Upload some tickets. We have provided some handy ones in the project, in /tickets. You don't need to fill in Add Return Trip Ticket for Single Trips. AAAAA, AAAAG, AAAAI and AAAAK are valid single trip tickets.
Refresh it with the sync button on the right to see the updated tickets in the blockchain.
Purchase the insurance with the "Get Insured!" button.
To test round trip tickets, upload the second ticket with Add Return Trip Ticket. In /tickets, (AAAAH_1, AAAAH_2) and (AAAL_1, AAAAL_2) are valid round trip ticket pairs. Take note that the system does not discern between round and single trip tickets (if you only upload the first AAAAH ticket it will register it as a single trip for demonstration purposes)
Refresh the page to see the updated loyalty points once the insurance has been added to the blockchain.
To claim payouts, click on claim payout button.
Be sure to refresh at every step!
Withdraw your payouts by clicking the big green button.
That's all!