Feature request: Add mint with URL param
Closed this issue · 0 comments
callebtc commented
Would be nice if nutstash could add a mint in it's URL param.
Example: https://wallet.nutstash.app/?mint=https%3A%2F%2F8333.space%3A3338
.
After such operations (also maybe for token=....
-triggered operations), the page should remove the params so the user doesn't get the response every time they reload the page:
// Clear all parameters from URL without refreshing the page
window.history.pushState({}, document.title, "/");
Edit: Maybe it's better to restore the path to window.location.href
instead of "/"
, in case someone hosts nutstash on a non-root path.