Write a Foundry Script to Approve Token for Batch Send
Closed this issue · 0 comments
apbendi commented
In the contracts-periphery
directory, write a simple script to approve a token on the batch send contract. Requirements:
- Owner private key should come from the env var
- Takes the token address as a command line argument when run
- Lightweight documentation in
contracts-periphery
README - Nice to have: ability to submit multiple approve txs with one execution of the script, i.e. provide a list of tokens on the command line
- Nice to have: checks if the token is already approved and skips it if is