This repository is a collection of command line tools to do massive Airdrops of Decentraland Wearables on Matic
- Requirements
- Installation
- Setup
⚠️ Warnings- Command:
environment
: Check current environment configuration - Command:
send
: Send wearables to a list of addresses - Command:
tx
: Inspect, cancel or speed up transactions - Tutorial: watch a beginner's video tutorial by DOCTORdripp on how to use this script
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.
A video demonstration and beginner's tutorial by DOCTORdripp. Learn how to bulk airdrop using this script now.