frametrain
frametrain copied to clipboard
[FH-2] Wallet Connection Implementation
Description (1,000 PTS)
- The goal here is to add the
wagmi& relatedAppKitpackages, thewagmiconnectors and thewagmiProvider to the repository and connect (pun intended) the relevant parts of theframetrainapp to it. - Needs to work with the
metamask,injected,coinbaseWalletandwalletConnectproviders. See a list of all connectors here. - Needs to work with
txtype of actions in theFrameEditor, this is the main reason for implementing wallet connectivity insideframetrain. Right now clicking ontxbutton shows a message that this is not implemented and you should use the Warpcast debugger instead. After your implementationtxbuttons should be working smoothly in theFrameEditor. - You also have to think about the upcoming steps after a
txhas been signed, a simple solution that also has good UX is to show atoast.success()saying the transaction has been sent. This is only a suggestion, the full handling should have a few more extra steps that you'll discover while implementing. - The
Connect Wallet<w3m-button />should only be visible in theFrameEditor. - All the interactions should feel as smooth and user friendly as using
Rainbowwallet does. - Only a full, thorough, succesful implementation will be accepted.
- You can modify other parts of the app in order to make improvements, however you must make sure it's really an improvement and not a change that just make your task easier (and that's all it does).
- For more information check out the AppKit docs and wagmi docs.