Skip to content

Commit

Permalink
fix(nft-collection): small commented fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ogmedia committed May 18, 2023
1 parent a060cc7 commit aa3e26f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/nft-collections/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ const NFT_URI = 'https://raw.githubusercontent.com/Squads-Protocol/sdk-examples/

/*
// for fewer potential issues, you should use a CLI wallet instead of a random keypair that's been airdropped to
const homedir = os.homedir();
let walletJSON = JSON.parse(fs.readFileSync(`${homedir}/.config/solana/id.json`, "utf-8"));
const walletKeypair = Keypair.fromSecretKey(Uint8Array.from(walletJSON));
const squads = Squads.endpoint(YOUR_RPC_NODE, new Wallet(walletKeypair));
const homedir = os.homedir();
*/

// if using this random keypair for the test, be sure to airdrop to it using the airdrop function in this repo
Expand Down

0 comments on commit aa3e26f

Please sign in to comment.