Michael Gingras (lilfrog) pfp
Michael Gingras (lilfrog)
@frog
has anyone figured out how to get base paymaster to work? the docs are outdated unfortunately and I'm struggling hard :-(
1 reply
1 recast
1 reaction

Michael Gingras (lilfrog) pfp
Michael Gingras (lilfrog)
@frog
specifically I'm having trouble proxying the request in order to protect the paymaster URL from the cb dev platform. https://docs.base.org/identity/smart-wallet/guides/paymasters It seems like the viem docs are out of date so extending the client doesn't work the way the docs suggest and I'm having trouble with the new viem aa extended clients the paymaster works fine if I just hardcode the paymaster url though
2 replies
0 recast
0 reaction

jxom  pfp
jxom
@jxom
where is the out-of-date viem docs?
1 reply
0 recast
0 reaction

Michael Gingras (lilfrog) pfp
Michael Gingras (lilfrog)
@frog
sorry by "viem docs" I mean "the base docs specifically written for use with viem" It seems like now viem has viem/account-abstraction and exports a specific paymaster client rather than extending like the base docs suggest. Also, permissionless no longer exports ENTRYPOINT_V06 or the 7677 actions. I'm trying to `sendCalls` with pm capability pointing to a nextjs API route that uses viem pmClient to call getPaymasterStubData or getPaymasterData. It keeps throwing though... I think the userOp that gets passed to the api route via sendCalls and that gets passed to getPaymasterStubData is perhaps unspecified. Viem does not throw any ts errors but it still throws
0 reply
0 recast
0 reaction