Skip to content

Commit

Permalink
Airdrop to id address before mint setup
Browse files Browse the repository at this point in the history
To avoid error detailed in [this issue](paul-schaaf#6)
  • Loading branch information
0xNilsOlav authored Oct 6, 2021
1 parent 7798d5d commit 5077832
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/src/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ const setup = async () => {
await connection.requestAirdrop(alicePublicKey, LAMPORTS_PER_SOL * 10);
console.log("Requesting SOL for Bob...");
await connection.requestAirdrop(bobPublicKey, LAMPORTS_PER_SOL * 10);
console.log("Requesting SOL for Id...");
await connection.requestAirdrop(bobPublicKey, LAMPORTS_PER_SOL * 10);

const [mintX, aliceTokenAccountForX, bobTokenAccountForX] = await setupMint(
"X",
Expand Down

0 comments on commit 5077832

Please sign in to comment.