Implementation of reducing transaction gas based on trampoline and AAStar-paymaster.
- Clone this repository.
- Move into
AAStar-Basic-Wallet
folder - Run
yarn install
to install the dependencies. - Run
yarn start
- Load your extension in Chrome by following these steps:
- Go to
chrome://extensions/
- Enable
Developer mode
- Click on
Load unpacked extension
- Select the
build
folder.
- Go to
- Set name
- Add a little gas fee to the new account so that it can be deployed
The first gasless transaction has been completed.
Click SEND
button, we can get this.
Enter address and value.
Like this, then send transaction.
Add paymasterAndData, then click Continue
Confirm the transaction, then click the SEND
After a while, we can see the picture below
If you want to see detailed information, you can go to Etherscan to view it.