hypercerts-org / hypercerts-app

Lean, mean, minting machine
https://hypercert-app.vercel.app
0 stars 0 forks source link

[FE] User is able to easily transfer a hypercert after it is created to multiple users #11

Open bitbeckers opened 5 months ago

bitbeckers commented 5 months ago

As a user, I want to be able to transfer fraction of my hypercerts to a list of recipients, so that I can easily attribute fractions to financial contributors.

Spec:

holkexyz commented 5 months ago

@bitbeckers suppose a user batch transfer 300 fractions to other users... will this be 300 transactions and hence the transaction costs would be very high?

holkexyz commented 5 months ago

From our discussion: Let's make sure that we don't create functions that people will use to spam others

Solution tbd

bitbeckers commented 5 months ago

@holkexyz I think we capped the array size in the contracts due to gas limitations (a bit of handholding). A recent split cost $0.04 at recent prices so repeating this 300x would be ~$12. You could say that's a spam countermeasure..

Currently, we don't have an interface to do this towards 300 users. For the sake of this issue, a manual list of 10 recipients could be a reasonable scope?

holkexyz commented 5 months ago

Yes, we can use the gas costs as friction to avoid spamming.

On the frontend I would suggest 25 as the limit for now