You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Front end should make an Eval Call to gnoland to retrieve data by calling RenderForm
Example render - should be inside an Object or Iframe (some safe Html to nest inside dither UX)
// Define the HTML template
const htmlTemplate = `<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{.title}}</title>
<body>
{{.OpenTag}} // derived from the gnomark type e.g. <gno-frame>
{{.Body}} // RenderFrame json def added here after being validated
{{.CloseTag}} // </gno-frame>
<script src="{{.Src}}{{.Name}}.js"></script>
</body>
</html>`
Example frame declaration
Notice above - the CDN path is provided by the Frame Author, but we will control loading by whitelisting various repos or via automated scanning /verification
Example "Mini App" - clicking the initial post brings up the authorization to 'add to farcaster'
We don't necessarily have to do that if we control the CDN sources - but we could put the onus on the user to approve.
This discussion was converted from issue #327 on November 07, 2025 05:09.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
As a poster on dither, I'd like my realm /r/my-realm to render an interactive dialog when linked from a dither post.
Example Realm Func
Example source here:
https://github.com/allinbits/labs/blob/main/projects/gnoland/gno.land/r/frames000/frames.gno
"CDN" folder hosted on github https://github.com/allinbits/gnoserve/tree/frame/static
Assuming we would run our own service like https://cdn.gno.services - but will work just like https://cdn.jsdelivr.net/gh/allinbits/gnoserve@frame/static/
RenderFrame MUST return valid json.
The only required fields are
gnomarkandcdn- all other keys are app-specificNOTE that this is a minimal example rendering only a link w/ some in a nested dialog in the post
References
For reference this feature would be similar to https://docs.farcaster.xyz/developers/frames/spec
Front end should make an Eval Call to gnoland to retrieve data by calling RenderForm
Example render - should be inside an Object or Iframe (some safe Html to nest inside dither UX)
Example frame declaration
Notice above - the CDN path is provided by the Frame Author, but we will control loading by whitelisting various repos or via automated scanning /verification
Example "Mini App" - clicking the initial post brings up the authorization to 'add to farcaster'
We don't necessarily have to do that if we control the CDN sources - but we could put the onus on the user to approve.
Beta Was this translation helpful? Give feedback.
All reactions