Openzeppelin-contracts: Add Airdrop contract

Created on 24 Jan 2018  路  10Comments  路  Source: OpenZeppelin/openzeppelin-contracts

  • [ ] 馃悰 This is a bug report.
  • [X] 馃搱 This is a feature request.

Introduce an Airdrop smart contract standard to the OpenZeppelin library.

Airdrops became a way for projects to distribute tokens to their community, in an effort to bootstrap the usage and support of their platform. During 2017, we've seen Airdrops performed by projects like OmiseGo and Kyber, among others:
https://github.com/omisego/airdrop
https://github.com/KyberNetwork/airdrop
Also, products are emerging for projects to perform Airdrops: https://news.earn.com/launch-your-token-with-an-earn-com-airdrop-97715970f8c7

With an increasing number of emerging projects in the space struggling to get the adoption they need to justify their market prices, I believe Airdrops will become more popular during 2018. Therefore, it would be great to have an Airdrop smart contract standard in OpenZeppelin, the most popular smart contract library in the space today.

feature

Most helpful comment

Note that most of the work in an airdrop are the off-chain tools for:

  • collecting the receiving addresses from a blockchain scan (or other criteria)
  • automating a huge number of batched transfers

The contract itself should not be that complex, it's just a transferMany method, tailored to use as little gas as possible.

All 10 comments

Thanks @demibrener! I like the motivation for this feature.

If I understand correctly, an "airdropper" would basically be a "multisend" function.

Thanks @frangio! I believe so.

Note that most of the work in an airdrop are the off-chain tools for:

  • collecting the receiving addresses from a blockchain scan (or other criteria)
  • automating a huge number of batched transfers

The contract itself should not be that complex, it's just a transferMany method, tailored to use as little gas as possible.

i wrote an open source airdrop tool using nodejs, require users to registers in a form, their email and phone number, the code is heavily asynchronous and can handle lots of users.

Nice! Care to share a link?

https://github.com/StutzCoin/airdrop

making it more generic is not difficult, after we have airdrop our token i will continue maintaining the tool for fun

@cedricwalter Thank you.

Is anybody working on this ? If not, I would like to send a PR for this feature

Not that I know of, feel free to give it a shot!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

maraoz picture maraoz  路  3Comments

spalladino picture spalladino  路  4Comments

shrugs picture shrugs  路  4Comments

nventuro picture nventuro  路  4Comments

valmack picture valmack  路  3Comments