-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Buy button becomes non-responsive with Hiro wallet installed #67
Comments
Wow, can't believe the moment I wrote this up, things start to work all of a sudden. In any case, I was debugging this a bit earlier when I cannot get this to work repeatedly, and let me share what I found. Basically I see that there's some logic in the code to call up the Hiro wallet, and uses the When the Buy button was not working before I filed this issue, I observed the same thing above. Of course, now when I go back and look again, the attribute has valid value: I have a reliable Internet connection and don't think there is a problem on my end, but since the problem is not reproducible any more, please feel free to close it. The only reason I can think of for the cause would be that, if the logic to load up the In any case, sorry for the interruption, great job on building this valuable and promising project! |
Well well well, what do you know, the problem came right back after I disabled and re-enabled the Hiro wallet extension. And I think I might have found the cause. First of all, there seems to be an important piece of initialization code: This code snippet is setting up many variable for later use, such as As we can see, at this time, the Later on when I click the "Buy" button, nothing happens in the UI, and I get an error message in the console: At this time, when I examine the system state, I see that All in all, now I think there is a simple race condition somewhere, causing the execution of app.js initialization to occur BEFORE the Hiro wallet initialization (or somehow injecting variables into |
With the hiro wallet installed as a Chrome extension, I can navigate to an inscription page successfully, like this one:
https://openordex.org/inscription?number=3dc8445abc5d4c34dbcdd11f1cd002aaf22eb817911a1274a53076e8883cfa01i0
But then when I click on the "Buy Inscription ... " button, nothing happens.
The text was updated successfully, but these errors were encountered: