Replies: 1 comment 4 replies
-
@Ncookiez Ideally we would want to have this paymaster logic to happen in Wagmi only because of maintenance reasons. Are you able to look for Let me know if this would work in your case 👍 |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey all - was looking to add a paymaster to abstract some gas for users using our app now that rainbowkit supports the coinbase smart wallet. From coinbase's dev server I was told to follow this guide to set it up. Basically using the experimental
useCapabilities
anduseWriteContracts
from wagmi, setting up a proxy to determine transactions to sponsor, etc. This would be a huge undertaking to support and add fallbacks for normal wallets and other networks, and I was hoping this is something rainbowkit could help abstract away.The ideal integration route I'm envisioning would be something along the lines of passing a paymaster URL and an optional function that returns if a transaction should be sponsored or not to the
coinbaseWallet
connector when setting up wagmi, and it'd handle transaction conversions when appropriate.Would this be possible? Or is there a better way of going about this?
Beta Was this translation helpful? Give feedback.
All reactions