Changes to frames.scroll.pub

ffff:72.234.190.31
ffff:72.234.190.31
1 month ago
updated index.scroll
index.scroll
Changed around line 172: id Unique ID. Required. Reported to the frame. "do-yoink"
+ # Frame manifest caching
+ Farcaster clients may cache the frame manifest when scraping embeds, but should provide a mechanism for refreshing the manifest file.
+ # Frame UI Specifications
+ Header A header is rendered above the frame and includes the name and author which must be specified in the manifest. The header is rendered whenever the app frame is launched.
+
+ Splash Screen A splash screen is shown as soon as the app is launched and the icon and background must be specified in the frame manifest or embed meta tags. The frame can hide the splash screen once loading is complete.
+
+ Size & Orientation A frame should be rendered in a vertical modal. Mobile frame sizes will be dictated by device dimensions while web frame sizes will be set to 424x695px.
+
+ # Client SDK API
+
+ code
+ type LaunchContext =
+ | CastEmbedLaunchContext
+ | NotificationLaunchContext
+
+ code
+ > Farcaster.context.location
+ {
+ type: "cast_embed",
+ cast: {
+ fid: 3621,
+ hash: "0xa2fbef8c8e4d00d8f84ff45f9763b8bae2c5c544",
+ text: "New Yoink just dropped:",
+ embeds: ["https://yoink.party/frames"]
+ }
+ }
+
+ code
+ type Cast = {
+ fid: number;
+ hash: string;
+ text: string;
+ embeds: string[];
+ mentions: Mention[];
+ };
+
+ type CastEmbedLaunchContext = {
+ type: 'cast_embed';
+ cast: Cast;
+ };
+
+ # Notification
+
+ > Farcaster.context.location
+ {
+ type: "notification",
+ notification: {
+ title: "Yoinked!",
+ body: "horsefacts captured the flag from you.",
+ id: "f7e9ebaf-92f0-43b9-a410-ad8c24f3333b"
+ }
+ }
+
+ code
+ type NotificationLaunchContext = {
+ type: 'notification';
+ notification: {
+ title: string;
+ body: string;
+ id: string;
+ };
+ };
+
+ # context user
+
+ code
+ type User = {
+ fid: number;
+ username?: string;
+ displayName?: string;
+ pfp?: string;
+ bio?: string;
+ location?: {
+ placeId: string;
+ description: string;
+ },
+ custodyAddress: string;
+ verifiedAddresses: {
+ ethereum: string[];
+ solana: string[];
+ }
+ connectedAccounts: {
+ platform: string;
+ username: string;
+ }[];
+ };
ffff:72.234.190.31
ffff:72.234.190.31
1 month ago
updated index.scroll
index.scroll
Changed around line 166: code
+ Attribute Description Example
+ type The type of trigger, cast_action or composer_acton. Required. "cast-action"
+ id Unique ID. Required. Reported to the frame. "do-yoink"
+ url Handler URL. Required. "https://yoink.party/trigger-handler"
+ name Name override. Optional, defaults to FrameConfig.name. "View Leaderboard"
+
ffff:72.234.190.31
ffff:72.234.190.31
1 month ago
updated index.scroll
index.scroll
Changed around line 143: code
+ # Frame Invocation
+ Frames may be invoked in the following ways:
+ Method Description Context
+ global Called when the app is invoked from the app launcher or other unspecified context, only when homeUrl is set. Loads the app’s homeUrl. None
+ embed Called when the frame is invoked from an embed in a feed or direct cast. Loads the url specified in the embed metadata Cast hash, embed URL, embed type (feed or direct cast), see below
+ notification Called when a user clicks on a frame notification. Loads the targetUrl specified in the notification payload. Notification ID, see below
+
+ # Triggers
+ Triggers will allow a user to launch into your Frame from different places in a Farcaster application. These will eventually replace "cast actions" and "composer actions." See "Feature: Triggers" in the Appendix for details.
+
+ code
+ type TriggerConfig = {
+ type: 'cast_action',
+ id: string,
+ url: string,
+ name?: string
+ } | {
+ type: 'composer_action',
+ id: string,
+ url: string,
+ name?: string
+ }
+
+
+
ffff:72.234.190.31
ffff:72.234.190.31
1 month ago
updated index.scroll
index.scroll
Changed around line 133: code
+ //
+ Attribute Description Example
+ version Manifest version. Required. "0.0.0"
+ name App name. Required. "Yoink!"
+ iconUrl 200x200px App icon. Must be less than 1MB. Required. "https://yoink.party/img/icon.png"
+ homeUrl Frame default launch URL. Optional. "https://yoink.party/"
+ splashImageUrl 200x200px splash image. Must be less than 1MB. Optional. "https://yoink.party/img/splash.png"
+ splashBackgroundColor Hex color code. Optional. "#eeeee4"
+ webhookUrl The URL to which clients will POST events. Optional. "https://yoink.party/webhook"
+
+
+
ffff:72.234.190.31
ffff:72.234.190.31
1 month ago
updated index.scroll
index.scroll
Changed around line 119: code
+ [] The domain must match the domain the manifest is being served from.
+
+ [] Frame config
+ code
+ type FrameConfig = {
+ version: string;
+ name: string;
+ homeUrl?: string
+ iconUrl: string;
+ splashImageUrl?: string;
+ splashBackgroundColor?: string;
+ webhookUrl?: string
+ };
+
+
ffff:72.234.190.31
ffff:72.234.190.31
1 month ago
updated index.scroll
index.scroll
Changed around line 116: code
+ []
+ The account association links the domain to a Farcaster FID. The signature must be a signed JSON Farcaster Signature from the FID's custody address with the following payload:
+ > { domain: string }
ffff:72.234.190.31
ffff:72.234.190.31
1 month ago
updated index.scroll
index.scroll
Changed around line 104: frameEmbedParser
+ [] Frame manifest:
+ code
+ type FarcasterManifest = {
+ accountAssociation: {
+ header: string; // base64url encoded JFS header
+ payload: string; // base64url encoded payload containing a single property `domain`
+ signature: string; // base64url encoded signature
+ };
+ frame: FrameConfig;
+ triggers?: TriggerConfig[];
+ };
+
+
ffff:72.234.190.31
ffff:72.234.190.31
1 month ago
updated index.scroll
index.scroll
Changed around line 93: cast
-
+ //
+ Attribute Description Example
+ imageUrl Frame image. Must be 1:1.91 aspect ratio. Must be less than 10 MB. "https://yoink.party/img/start.png"
+ button.text Button text "Yoink Flag"
+ button.action.type Action type. Must be launch. "launch"
+ button.action.name App name "Yoink!"
+ button.action.icon 200x200px App icon. Must be less than 1MB. "https://yoink.party/img/icon.png"
+ button.action.url Frame launch URL "https://yoink.party/"
+ button.action.splashImage 200x200px splash image. Must be less than 1MB "https://yoink.party/img/splash.png"
+ button.action.splashBackgroundColor Hex color code "#eeeee4"
ffff:72.234.190.31
ffff:72.234.190.31
1 month ago
updated index.scroll
index.scroll
Changed around line 90: cast
+ frameEmbedParser
+ extends abstractScrollParser
ffff:72.234.190.31
ffff:72.234.190.31
1 month ago
updated index.scroll
index.scroll
Changed around line 73: cast
+ [] A frame URL must have a FrameEmbed in a serialized form in the fc:frame meta tag on the headers. When this URL is rendered in a cast, the image is displayed in a 1.9:1 ratio with a button underneath. Clicking the button will open an app frame to the provided target url and use the splash page to animate the transition.
+ code
+ code
+ type FrameEmbed = {
+ imageUrl: string;
+ button: {
+ title: string;
+ action: {
+ type: 'launch_frame';
+ name: string;
+ url: string;
+ splashImageUrl: string;
+ splashBackgroundColor: string;
+ }
+ }
+ }
ffff:72.234.190.31
ffff:72.234.190.31
1 month ago
updated index.scroll
index.scroll
Changed around line 67: cast
+ [] A URL is considered a valid frame if:
+ [] it includes an embed in its headers
+ [] manifest file at a well known location at the root of the domain.
+
+ [] Frames will follow semantic versioning and frames must declare the version that they support. Apps will choose to render frames based on the versions they can support.
+
+
+
+
+
ffff:72.234.190.31
ffff:72.234.190.31
1 month ago
updated index.scroll
index.scroll
Changed around line 36: frameParser
+ notificationParser
+ extends abstractScrollParser
+
Changed around line 61: cast
+
+ // Frames have access to:
+ // Context - information about the user's farcaster account and where the frame was called from
+ // Actions - apis to request the parent app to do certain things on the frame's behalf.
+ // Wallet - an Ethereum provider to request transactions and signatures from the connected wallet
+
ffff:72.234.190.31
ffff:72.234.190.31
1 month ago
updated index.scroll
index.scroll
Changed around line 53: cast
- @bountybot
+ @bountybot
+
+ // what does a frame require?
+ // does it require a server?
+ // is a frame a cast?
ffff:72.234.190.31
ffff:72.234.190.31
1 month ago
updated index.scroll
index.scroll
Changed around line 9: printTitle
+ extends abstractScrollParser
Changed around line 25: castParser
+ extends abstractScrollParser
Changed around line 33: frameParser
+ transactionParser
+ extends abstractScrollParser
+
+ replyParser
+ extends abstractScrollParser
+
ffff:72.234.190.31
ffff:72.234.190.31
1 month ago
updated index.scroll
index.scroll
Changed around line 29: warpcastUrlParser
+ cue frame
ffff:72.234.190.31
ffff:72.234.190.31
1 month ago
updated index.scroll
index.scroll
Changed around line 27: warpcastUrlParser
+ frameParser
+ extends abstractScrollParser
+
ffff:72.234.190.31
ffff:72.234.190.31
1 month ago
updated index.scroll
index.scroll
Changed around line 16: lineOfContentParser
+ atoms stringAtom
ffff:72.234.190.31
ffff:72.234.190.31
1 month ago
updated index.scroll
index.scroll
Changed around line 10: printTitle
+ lineOfContentParser
+ baseParser blobParser
+
+ inScope lineOfContentParser
+ javascript
+ getCastContent() {
+ return this.
+ }
ffff:72.234.190.31
ffff:72.234.190.31
1 month ago
updated index.scroll
index.scroll
Changed around line 5: title Farcaster Frames v2
- ## A simple approach
+ ## A simple approach
+
+
+ farcasterUserParser
+
+ castParser
+ extends abstractScrollParser
+ cue cast
+
+ warpcastUrlParser
+ example
+ https://warpcast.com/dwr.eth/0x7aed3fb2
+
+ cast
+ content
+ Framesgiving Hackathon
+
+ - Ship a working v2 frame by Wednesday December 4 at 8pm Pacific
+ - Reply with the frame to this cast
+ - Requirements: v2 frame and includes at least one onchain transaction
+
+ $3000 USDC in prizes
+
+ 1st: $1500
+ 2nd: $1000
+ 3rd: $500
+
+ @bountybot
ffff:72.234.190.31
ffff:72.234.190.31
1 month ago
updated index.scroll
index.scroll
Changed around line 5: title Farcaster Frames v2
- ## A simpler approach
+ ## A simple approach
ffff:72.234.190.31
ffff:72.234.190.31
1 month ago
updated index.scroll
index.scroll
Changed around line 3: theme prestige
+ printTitle
+
ffff:72.234.190.31
ffff:72.234.190.31
1 month ago
updated index.scroll
index.scroll
Changed around line 1
- theme roboto
+ theme prestige
- Hello World my name is
+ title Farcaster Frames v2
+
+ ## A simpler approach
root
root
2 months ago
initial blank_template template
.gitignore
Changed around line 1
+ .DS_Store
+ *.html
+ *.txt
+ *.xml
+ *.css
+ *.js
+ *.csv
+ requests.scroll
index.scroll
Changed around line 1
+ buildHtml
+ theme roboto
+
+ Hello World my name is