Open serjou1 opened 3 weeks ago
The method only works with 2 mints and 2 users, moreover, no one of users can have 0 both token balances.
I had to change code to:
const userMintsAndTokenAccounts =
await createAccountsMintsAndTokenAccounts(
[
[0, 1],
[1_000_000_000, 0]
],
1 * LAMPORTS_PER_SOL,
connection,
payer
);
This should be documented or method should be rewritten
Here is my code:
Here is my log:
And I'm getting this error:
My env: