You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to call command mint_one_token for CmV2.
By default when i call command mint_one_token we are using : export const CANDY_MACHINE_PROGRAM_ID = new PublicKey( 'cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ', );
How can I add different CM_ID? If adding for example id: CMZYPASGWeTz7RNGHaRJfCq2XQ5pYK6nDvVQxzkH51zb.
I catch exeption:
It is these piace of code: ixAccounts.forEach((acc) => { if ("accounts" in acc) { validateAccounts(acc.accounts, accounts[acc.name] as Accounts); } else { if (accounts[acc.name] === undefined) { throw new Error(Invalid arguments: ${acc.name} not provided.); } } });
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I try to call command mint_one_token for CmV2.
By default when i call command mint_one_token we are using :
export const CANDY_MACHINE_PROGRAM_ID = new PublicKey( 'cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ', );
How can I add different CM_ID? If adding for example id: CMZYPASGWeTz7RNGHaRJfCq2XQ5pYK6nDvVQxzkH51zb.
I catch exeption:
It is these piace of code:
ixAccounts.forEach((acc) => { if ("accounts" in acc) { validateAccounts(acc.accounts, accounts[acc.name] as Accounts); } else { if (accounts[acc.name] === undefined) { throw new Error(
Invalid arguments: ${acc.name} not provided.); } } });
Beta Was this translation helpful? Give feedback.
All reactions