Last active
September 13, 2022 09:01
-
-
Save FoxyDev42/8f7a0e0d6ce018d311acb93ca723b394 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| ## First create a new keypair using solana-keygen and transfer sol to it | |
| ## solana-keygen new -o helper.json | |
| target=`solana address -k ./helper.json` | |
| for i in `cat nfts.txt` | |
| do | |
| solana config set -k helper.json | |
| spl-token create-account $i | |
| solana config set -k rugged.json | |
| spl-token transfer $i 1 $target --fee-payer helper.json | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment