You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When include paths are specified, `hub` first searches the current JSON
105
107
directory, then searches each include directory in the order they were
106
108
specified, stopping as soon as it finds a match.
109
+
110
+
### `airdrop`
111
+
112
+
This command airdrops NFTs by minting them from an open drop to specified wallet addresses.
113
+
This should be run after the mints are queued for the specified open drop.
114
+
115
+
```sh
116
+
$ hub airdrop --drop <DROP_ID><WALLETS>
117
+
```
118
+
119
+
The `DROP_ID` parameter accepts the UUID of an open drop created with Hub. The --wallets parameter accepts file containing newline-separated wallet addresses for the airdrop. If a single hyphen - is passed, the utility will read from STDIN.
120
+
121
+
### Optional Parameters:
122
+
123
+
-`--concurrency <OPTIONS>`:
124
+
125
+
- Is used to control the level of concurrency. Default value is **4**
126
+
127
+
-`--no-compressed`:
128
+
129
+
- An optional flag to mint uncompressed NFTs only. Default value is **false**
130
+
131
+
-`--mints-per-wallet <NUMBER>`:
132
+
- Defines the number of NFTs to mint to each wallet with a default value of **1** if not specified.
133
+
134
+
```sh
135
+
$ hub upload drop --drop 00000000-0000-0000-0000-000000000000 \
136
+
--wallets /path/to/wallets.txt
137
+
--concurrency 4 \
138
+
--no-compressed \
139
+
--mints-per-wallet 2
140
+
```
141
+
142
+
In this example, the airdrop command is invoked with a concurrency level of 4, specifying the open drop UUID 00000000-0000-0000-0000-000000000000, opting not to mint them as compressed NFTs, defining 2 mints per wallet, and providing the path to the file wallets.txt containing the target wallet addresses.
0 commit comments