This repository is a collection of command line tools to do massive Airdrops of Decentraland Wearables on Matic
- Requirements
- Installation
- Setup
⚠️ Warnings- Airdrops: send wearables to a list of addresses
- Transactions: inspect, cancel or speed up transactions
- Opensea: download all the address from an opensea collection
- POAP: download all the address from a list of events ids
- Rarible: download all the address from a rarible item
Before to start make sure you have NodeJS >=12
node -v
# Download code
git clone git@github.com:decentraland/l2-airdrop.git
# Install dependencies
cd l2-airdrop && npm install
Before you start to do airdrops you need to setup your environment,
cp .env.example .env
openssl rand -hex 32
# => 111...999
# .env
CHAIN_ID=137
ACCOUNT_PRIVATE_KEY=111...999
You can use multiples private keys separated by
,
(ACCOUNT_PRIVATE_KEY=111...999,222...888)
Now you can see your new address using the following command
npm run environment
CHAIN_ID: 137
ACCOUNT_WALLETS: [
'0xffffffffffffffffffffffffffffffffffffffff'
]
You need to have MATIC in your new address to pay for fees on Polygon (which are really cheap with 1 MATIC
you can mint thousands of wearables)
Go to https://builder.decentraland.org/collections
, open the collection you want yo airdrop and add your new address as a minter
If for any reason you cancel the execution of the command line please take into account the any transaction sent is still running, if you restart the airdrop it will fail until all pending transactions complete.
Send wearables to a list of addresses
Inspect, cancel or speed up transactions
Download all the address from an opensea collection
Download all the address from a list of events ids
Download all the address from a rarible item