Created
June 28, 2022 22:44
-
-
Save echohtp/c76e15b062004ddedcbb15589429fd62 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#location to the holders file, one per line | |
input="/home/0xbanana/holders.txt" | |
#example metadata, use your own | |
metadatauri="https://bafkreiflfy44ytewrhyzxyly3y42s6j5rhcbw63ha4bvpcrm34fh7fpv3a.ipfs.dweb.link/" | |
#funded solana wallet | |
wallet="/home/0xbanana/wallet.json" | |
#rpc endpoint | |
rpc="https://api.mainnet-beta.solana.com" | |
while IFS= read -r line | |
do | |
metaboss -r $rpc mint one --keypair $wallet --receiver $line --external-metadata-uri $metadatauri | |
done < "$input" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment