Replies: 5 comments 11 replies
-
on the chain side there's a great discussion here #240 (reply in thread) |
Beta Was this translation helpful? Give feedback.
-
Notifications might be added to the capabilities. For example, a Farcaster client running locally, without a dedicated IP/Hostname may not be able to handle notifications. |
Beta Was this translation helpful? Give feedback.
-
I have the following issues I think this proposal could solve:
(I know it's not a future-proof solution, but a good temporary workaround for me would be if I could identify the mini app host in my mini app directly) |
Beta Was this translation helpful? Give feedback.
-
Do we want to fold in any information around smart accounts? I can imagine mini-apps that either don't work fully with a smart account or require a smart account to work fully. Do we want to generalize the provider helpers in anticipation of other virtual machines such that |
Beta Was this translation helpful? Give feedback.
-
This has been shipped :) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
More apps are working on being able to host Farcaster Mini Apps, and the feature set in the Mini Apps SDK continues to grow. Not all of the hosts will support all of the features in the SDK, but some Mini Apps might require specific features.
To address this, we want to introduce a set of four APIs, two on the SDK and two on the Mini App manifest:
requiredCapabilities
, which specifies which Mini App SDK features are needed for this Mini App to function properly. If the host doesn't have all of these features, it shouldn't try rendering the Mini App. This returns a list of strings likewallet.getEvmProvider
,actions.signIn
,actions.swapToken
, etc.getCapabilities
, which specifies which capabilities the Mini App host supports. If a Mini App doesn't strictly require a particular SDK feature, but would like to use it if possible, it can leave out the capability in its manifest and instead call this method at runtime to check if it's available.requiredChains
, which specifies which chains are needed for this Mini App to function properly. If the host doesn't have all of these chains, it shouldn't try rendering the Mini App.getChains
, which specifies which chains the Mini App host supports. If a Mini App doesn't strictly require a particular chain, but would like to use it if possible, it can leave out the chain in its manifest and instead call this method at runtime to check if it's available.Beta Was this translation helpful? Give feedback.
All reactions