-
Notifications
You must be signed in to change notification settings - Fork 391
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
[Adena] add support for GnoConnect (gnoweb) #3610
Comments
Hi @moul , Adena can:
I have a few questions:
|
Adds before the `</head>`: ```html <meta name="gnoconnect:rpc" content="127.0.0.1:26657" /> <meta name="gnoconnect:chainid" content="dev" /> ``` Blocks #3610 Signed-off-by: moul <94029+moul@users.noreply.github.com>
Update the Adena Wallet to detect and utilize the new
gnoconnect:...
metadata tags added to gnoweb-generated HTML. These metadata entries provide configuration details for seamless integration. Ideally, this should enable Adena to function on any testnet, as well as any devnet or localnet.The wallet should parse the following
<meta>
tags present in the page's HTML:Using these values, the wallet should recognize that the current webpage serves as a frontend for a Gno blockchain instance. We can envision the extension automatically including a "login" feature, such as checking if the current wallet has a balance. Ultimately, it will allow Adena to capture the current
txlink
, such ashttps://gno.land/r/demo/boards$help&func=CreateThread&bid=2
, and intercept it to open the wallet window with a prefilled transaction. This will prevent redirection to the current gnoweb help page, which will remain the default for users without an installed gnoconnect wallet. We can also imagine additional features when someone opens a help page directly, such as adding a new "Run with Adena" option after the existing copy-paste transaction instruction.Depends on #3609
Related with #2602
Related with #2799
Related with #3283
Related with onbloc/adena-wallet#302
The text was updated successfully, but these errors were encountered: