-
Notifications
You must be signed in to change notification settings - Fork 507
Docs/update manifest #422
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
Merged
Merged
Docs/update manifest #422
Changes from 2 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
985b16c
add new core concepts
soheimam ffe877c
add noIndex true call out
soheimam c74ea54
added links
soheimam e5505b4
added miniapp obj
soheimam 3bd88b2
added base builder line
soheimam 99782bf
added cards
soheimam 72db4c7
added core concepts links
soheimam 5c7c2f1
added redirects
soheimam 4267618
added redirects
soheimam 4777782
added manifest in card object
soheimam 13a2b74
added manifest in panel object
soheimam e2d9114
added manifest in panel object
soheimam cd7d6cf
added callout under manifest
soheimam 92e0a1f
added ia structure
soheimam 4c60b48
added ia structure
soheimam 3bdef41
added ia structure
soheimam 700b76a
removed feature section
soheimam 453ecfa
added base app correct spelling
soheimam 239bb44
added correct links
soheimam e2ef893
added correct links
soheimam File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,157 @@ | ||
| --- | ||
| title: "Manifest" | ||
| description: "Configure your Mini App's manifest file to enable search, discovery, and rich embed features in the Base App platform." | ||
soheimam marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| --- | ||
|
|
||
| ## How It Works | ||
soheimam marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| When you deploy a Mini App, the Base App platform reads the manifest configuration to understand your app's metadata and presentation requirements. The platform uses this information to index your app for search, display it in discovery interfaces, and generate rich embed previews. | ||
|
|
||
| ## Implementation | ||
soheimam marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| 1. Create a manifest file in your Mini App project root | ||
soheimam marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| 2. Define required identification and metadata fields | ||
soheimam marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| 3. Sign the manifest -- https://www.base.dev/ | ||
soheimam marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| <Warning> | ||
| Changes to the manifest take effect when you redeploy your Mini App. The platform re-indexes the updated configuration and applies changes to search, discovery, and embed rendering. | ||
soheimam marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| </Warning> | ||
|
|
||
| ```json | ||
soheimam marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| { | ||
| "accountAssociation": { | ||
| "header": "eyJmaWQiOjkxNTIsInR5cGUiOiJjdXN0b2R5Iiwia2V5IjoiMHgwMmVmNzkwRGQ3OTkzQTM1ZkQ4NDdDMDUzRURkQUU5NDBEMDU1NTk2In0", | ||
| "payload": "eyJkb21haW4iOiJhcHAuZXhhbXBsZS5jb20ifQ", | ||
| "signature": "MHgxMGQwZGU4ZGYwZDUwZTdmMGIxN2YxMTU2NDI1MjRmZTY0MTUyZGU4ZGU1MWU0MThiYjU4ZjVmZmQxYjRjNDBiNGVlZTRhNDcwNmVmNjhlMzQ0ZGQ5MDBkYmQyMmNlMmVlZGY5ZGQ0N2JlNWRmNzMwYzUxNjE4OWVjZDJjY2Y0MDFj" | ||
| }, | ||
| "baseBuilder": { | ||
| "allowedAddresses": ["0x..."] | ||
| }, | ||
| "miniapp": { | ||
soheimam marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| "version": "1", | ||
| "name": "Crypto Portfolio Tracker", | ||
| "homeUrl": "https://ex.co", | ||
| "iconUrl": "https://ex.co/i.png", | ||
| "splashImageUrl": "https://ex.co/l.png", | ||
| "splashBackgroundColor": "#000000", | ||
| "webhookUrl": "https://ex.co/api/webhook", | ||
| "subtitle": "Easy to manage", | ||
| "description": "Track and manage your cryptocurrency portfolio.", | ||
| "screenshotUrls": [ | ||
| "https://ex.co/s1.png", | ||
| "https://ex.co/s2.png", | ||
| "https://ex.co/s3.png" | ||
| ], | ||
| "primaryCategory": "finance", | ||
| "tags": ["finance"], | ||
| "heroImageUrl": "https://ex.co/og.png", | ||
| "tagline": "Save instantly", | ||
| "ogTitle": "Example Mini App", | ||
| "ogDescription": "Easy to manage portfolio.", | ||
| "ogImageUrl": "https://ex.co/og.png", | ||
| "noindex": true | ||
| } | ||
| } | ||
| ``` | ||
| <Tip> | ||
| Set `"noindex": true` for development or staging environments to prevent search indexing. | ||
| </Tip> | ||
|
|
||
|
|
||
| ## Schema | ||
|
|
||
soheimam marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| ### Top-level fields | ||
|
|
||
| | Property | Type | Required | Description | | ||
| |---------------------|--------|----------|---------------------------------------------------| | ||
| | `accountAssociation`| object | Yes | Proves domain ownership for your Mini App. | | ||
| | `miniapp` | object | Yes | Contains all metadata used by Base App. | | ||
| | `baseBuilder` | object | Yes | This verifies ownership and connects your Base Build account. | | ||
|
|
||
| ### `accountAssociation` fields | ||
|
|
||
| | Property | Type | Required | Description | | ||
| |-------------|--------|----------|----------------------------------------------| | ||
| | `header` | string | Yes | Encoded header for the association payload. | | ||
| | `payload` | string | Yes | Encoded payload containing your domain. | | ||
| | `signature` | string | Yes | Signature over the payload. | | ||
|
|
||
soheimam marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| ### `baseBuilder` fields | ||
|
|
||
| | Property | Type | Required | Description | | ||
| |-------------|--------|----------|----------------------------------------------| | ||
| | `allowedAddresses` | string | Yes | This verifies ownership and connects your Base Build account. | | ||
|
|
||
| ### `miniapp` fields | ||
|
|
||
| #### Identity & Launch | ||
|
|
||
| Defines your Mini App's core identity and the URL users land on when they open it. | ||
|
|
||
| | Property | Type | Required | Description | Constraints | | ||
| |-----------------|--------|----------|---------------------------|-------------| | ||
| | `version` | string | Yes | Manifest version. | Must be `"1"`. | | ||
| | `name` | string | Yes | Mini App name. | Max 32 chars. | | ||
| | `homeUrl` | string | Yes | Default launch URL. | HTTPS URL, max 1024 chars. | | ||
| | `iconUrl` | string | Yes | Icon image URL. | HTTPS URL, PNG 1024×1024; transparent background discouraged. | | ||
|
|
||
| #### Loading Experience | ||
|
|
||
| Controls the splash screen visuals and colors shown while your Mini App loads. | ||
|
|
||
| | Property | Type | Required | Description | Constraints | | ||
| |-------------------------|--------|----------|----------------------------|-------------| | ||
| | `splashImageUrl` | string | Yes | Loading image. | HTTPS URL, recommended 200×200px. | | ||
| | `splashBackgroundColor` | string | Yes | Loading background color. | Hex code (e.g., `#000000`). | | ||
|
|
||
| #### Discovery & Search | ||
|
|
||
| Determines how your Mini App is indexed, categorized, and surfaced across Base App discovery features. | ||
|
|
||
| | Property | Type | Required | Description | Constraints | | ||
| |--------------------|----------|----------|----------------------------------------------------|-------------| | ||
| | `primaryCategory` | string | Yes | Controls where your app appears in category browsing. | One of: `games`, `social`, `finance`, `utility`, `productivity`, `health-fitness`, `news-media`, `music`, `shopping`, `education`, `developer-tools`, `entertainment`, `art-creativity`. | | ||
| | `tags` | string[] | Yes | Search/filter tags. | Up to 5; ≤ 20 chars each; lowercase; no spaces/emojis/special chars. | | ||
| | `noindex` | boolean | No | Exclude from search results. | `true` = exclude, default = include. | | ||
|
|
||
| #### Display Information | ||
|
|
||
| Provides the descriptive text, screenshots, and promotional images shown on your Mini App's profile. | ||
|
|
||
| | Property | Type | Required | Description | Constraints | | ||
| |------------------|----------|----------|-------------------------------------|-------------| | ||
| | `subtitle` | string | No | Short description under name. | Max 30 chars; avoid emojis/special chars. | | ||
| | `description` | string | No | Promo text for app page. | Max 170 chars; avoid emojis/special chars. | | ||
| | `tagline` | string | No | Marketing tagline. | Max 30 chars. | | ||
| | `heroImageUrl` | string | No | Large promo image. | 1200×630px (1.91:1), PNG/JPG. | | ||
| | `screenshotUrls` | string[] | No | Visual previews. | Max 3; portrait 1284×2778px recommended. | | ||
|
|
||
| #### Embeds & Social Sharing | ||
|
|
||
| Configures how your Mini App appears when shared in feeds or on social platforms. | ||
|
|
||
| | Property | Type | Required | Description | Constraints | | ||
| |---------------------------|--------|----------|---------------------------|-------------| | ||
| | `ogTitle` | string | No | Open Graph title. | Max 30 chars. | | ||
| | `ogDescription` | string | No | Open Graph description. | Max 100 chars. | | ||
| | `ogImageUrl` | string | No | Open Graph image. | 1200×630px (1.91:1), PNG/JPG. | | ||
|
|
||
| #### Notifications | ||
|
|
||
| Notification endpoint. | ||
|
|
||
| | Property | Type | Required | Description | Constraints | | ||
| |------------------------|----------|----------|-----------------------------|-------------| | ||
| | `webhookUrl` | string | No | POST events endpoint. | HTTPS URL, max 1024 chars. Required if using notifications. | | ||
|
|
||
| ## Next Steps | ||
soheimam marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| <CardGroup cols={2}> | ||
| <Card title="Search and Discovery" href="/mini-apps/features/search-and-discovery"> | ||
soheimam marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| Learn how your manifest powers search indexing and category placement in Base App discovery features. | ||
| </Card> | ||
|
|
||
| <Card title="Embeds and Previews" href="/mini-apps/features/embeds-and-previews"> | ||
soheimam marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| Understand how your manifest creates rich embeds when your Mini App is shared in feeds and social platforms. | ||
| </Card> | ||
| </CardGroup> | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.