Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Script Version of App #294

Open
bh2smith opened this issue Nov 21, 2021 · 0 comments
Open

Make Script Version of App #294

bh2smith opened this issue Nov 21, 2021 · 0 comments

Comments

@bh2smith
Copy link
Owner

Recently a user had a use case for the app where they wanted to send 130k transfers. Naturally this would never fit into a single transaction so it would make sense to break the transfer file up into smaller chunks and separate initialize transactions for each batch (i.e. transactions with incrementing nonce). Of course it would be nice to do all this directly from the interface, but it might also be nice if these kinds of airdrop could also be done from the shell (like in the good old days before this app was born).

The initial project introducing the logic for this app is here with a simple JS script that would parse csv transfer file and submit a multisend transaction to the safe interface for signing and executing.

https://github.com/gnosis/dex-liquidity-provision/blob/master/scripts/airdrop.js

As a start, it would be nice to port this old script to here. When attempting to use it we noticed that the dependencies are way outdated and so certain networks (like polygon) didn't even exist back then. That is, this script porting is expected to take a bit more effort than ripping the code out and putting it here. That and, of course, it should be written in TS instead of JS. This means we would also leave the truffle tooling behind in favour of hardhat.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant