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
| { | |
| "version": "0.1.0", | |
| "name": "citrus", | |
| "instructions": [], | |
| "accounts": [ | |
| { | |
| "name": "loan", | |
| "type": { | |
| "kind": "struct", | |
| "fields": [ |
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 |