-
Notifications
You must be signed in to change notification settings - Fork 32
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
CSV Airdrop Collectible transfer support #92
Comments
Depending on how the review goes and possible change requests that may arise, I could potentially take over to get it to the finish line in the meantime. |
Hi! 👋🏻 We were taking a look to the DApp. It works great!!. We could only test We only notice some minor things:
I'm attaching the ok and ko files plus a video: csv-airdrop-error.csv And at last, super minor thing 🙂, you have this duplicated This tests were made on Rinkeby |
Thanks for the great feedback! Some of those items should be easy fixes however others are impractical in practise (e.g. it would never actually be possible to send that many NFTs at once we should put a hard limit on the size of the file and return an error). The number of transfers is bounded above by the block gas limit. I have done benchmarks in the past for erc20 transfers and found that about 250 uses about 7.5 million gas (note this is based on my not so good memory) which was 50% of the block gas limit at the time. We could put a hard cap on the number of records at, say, 400. We will look closer at your detailed feedback after evaluating and fixing fixing. I just wanted to get the idea of hard limit out there now so you can tell me if this seems reasonable to you. |
For me seems reasonable. You can import the first n (hard limit) and warn the user about what was done for example |
Hey @yagopv, Some issues like balance checks or duplicate transfers (for erc721) are not implemented yet. But I got them on my mental backlog. Will do that after my vacation. Sending the same id multiple times should always result in at least an warning. Probably even error. But only for erc721 as erc1155 can be fungible. For erc1155: if you wanna test those a Gnosis safe can hold these tokens. Only displaying these is not supported yet. As noted I'm currently not able to work on this. I will implement changes in early January. Cheers from Colombia :) |
Hi @yagopv! A new release has been published. It should cover all your review issues + more:
Deployed at: https://ipfs.infura.io/ipfs/QmZGXxZd9GEkCHFT4W2Lq8tai7kK2hGf3FqSTTGEAG5KkB If you have any follow up issues or questions, please let me know here. Have a great sunday! |
Hi !! Checked again. Love the new Drain Safe feature ❤️. Pretty cool !! I can see the new warnings about adding duplicates or tokens whose ids doesn't exist in the safe. Would like to comment about even with the warning I can complete the transaction. I don't know if this is intentional but i can send anyway a wrong token or duplicate ones and to the same address they belong. So fine for me if you want to leave the warnings as they are right now and left the user decide if they want to complete the transaction. Aside note: I had a weird error as well that I think is related to react-dropzone/react-dropzone#1103. I couldn't make the file dialog appear pressing the dropzone or button but after updating Chrome it worked as expected. The curious thing is that i was on Chrome 96 arm that as the issue suggest seems to be the solution 😩. Anyway, seems related to react-dropzone or Chrome. I tested in Firefox and Edge and is working fine and as well asked 2 colleagues for checking on Chrome and worked for them as well. |
This is true and I could change it to an error or add a sticky error message above the submit button reminding users that they try to send more assets than they have in their balance. This would be similiar to the |
Hey @yagopv, I played around a bit and improved the sloppy error handling to display the state better at all times. If this works I'll merge and deploy this. |
I think is really nice! Works for me |
When you have the new version please add a comment with the IPFS and my colleague from the QA team @JagoFigueroa will finish the testing. Thanks!! |
Hey @JagoFigueroa, I deployed a new release containing the rework of the Message Display. The release contains the deployed IPFS Hash / URL. |
Hey guys! hats off to you, the app is phenomenal ;) All green from my side, the app has worked for me as expected in all the supported chains. Here are a couple of small improvements that I can think of for the future:
|
Great feedback! Thanks very much. We will surely put those on our todo list. In fact, I have already created issues
Thanks again! 🥂 |
CSV Airdrop Collectible transfer support
This feature was requested by multiple users.
Type
Compatible Networks
Code for review: https://github.com/bh2smith/safe-airdrop
IPFS hash/App URL
QmYpnhEbxi2EdY3YaFnP7VCeDziVHdcJ88ZfmrrpP9mCRU
https://cloudflare-ipfs.com/ipfs/QmYpnhEbxi2EdY3YaFnP7VCeDziVHdcJ88ZfmrrpP9mCRU
Desired date none
I will be gone starting Dec 6th for 4 weeks without access to the project. I will only be able to comment
Disclaimer
This update is part of a safe grant
The text was updated successfully, but these errors were encountered: