0xFableOrg / roll-op

The simplest way to spin your own dev / prod rollup, fully configurable.
BSD 3-Clause Clear License
92 stars 25 forks source link

Paymaster deposit script #90

Closed eerkaijun closed 10 months ago

eerkaijun commented 10 months ago

The paymaster needs to deposit Ether into the entrypoint contract in order to sponsor user transactions. Previously this was done in the test script, but for the paymaster service to serve its purpose, I've moved this to before starting the paymaster server. The amount to be deposited can be set in the config file. The deposit script can also be run anytime if the operator wants to top up funds.