Closed elliotwoods closed 2 years ago
When deploying an app that uses Kaikas wallet to an online server, a new behavior appears which is not present when running the web app on localhost.
Specifically, a call to await caver.klay.signTransaction(transaction); will cause the page to refresh.
await caver.klay.signTransaction(transaction);
This behavior can be seen at http://toitoitoi.herokuapp.com/redeem.html
If you connect to wallet and then type a key into the box (try any random key) and select Redeem, the code will get here:
At this point the Kaikas pop-up appears, but the page itself refreshes (so the system fails since it's reset). Tested on Chrome and Edge.
The system works fine when running a local node.js server.
Hi, Thank you for posting an issue. This seems like a Kaikas issue not caver-js. Can you inquire this issue in here?
I fixed the isse. Thanks for quick response
When deploying an app that uses Kaikas wallet to an online server, a new behavior appears which is not present when running the web app on localhost.
Specifically, a call to
await caver.klay.signTransaction(transaction);
will cause the page to refresh.This behavior can be seen at http://toitoitoi.herokuapp.com/redeem.html
If you connect to wallet and then type a key into the box (try any random key) and select Redeem, the code will get here:
At this point the Kaikas pop-up appears, but the page itself refreshes (so the system fails since it's reset). Tested on Chrome and Edge.
The system works fine when running a local node.js server.