Hey guys. So I’m ashamed to admit but I’ve been trying to hack the myalgo wallet into PHP.
I’m currently getting the popup to load and try and connect to https://wallet.myalgo.com/bridge/connect.html. However I then immediately get a browser cross-origin error:
Uncaught (in promise) DOMException: Blocked a frame with origin “http://localhost” from accessing a cross-origin frame.
Would anyone be able to shed some light on how I can get around this? How does the myalgo wallet avoid cross-origin issues? Am I wasting my time trying to port this into PHP?
Any help would be appreciated. Thanks