Skip to content

Uttam-Singhh/flare-x-aa-paymaster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AA with Paymaster

Checkout transaction logs: img 2024-03-27 at 6 17 34 AM

these lines of code are what enable a transaction to be sponsored

photo_2024-03-27 06 54 28

"arka_public_key" is a testnet public key

There are two modes to choose from while using paymaster (Check docs for more)

1.) sponsor - used in this example (This works by having Arka pay for the transaction fee, you can add more options to it like validUntil / validAfter). (Typically a project will get their own paymaster api key, deposit into the address)

2.) erc20 - This works by having the gas fee paid with whatever token is specified.

To check run:

npm i

And then

npm start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published