Quantcast
Channel: Recent Questions - Solana Stack Exchange
Viewing all articles
Browse latest Browse all 7836

Anchor-generated TypeScript issue

$
0
0

I tried to execute this instruction https://github.com/triadxyz/spl-404/blob/99dd63ba9905c04a191f2c21d44fcc8449880240/programs/spl-404/src/instructions/mint_token.rsusing JS sdk.

I've got an error: Transaction simulation failed: Error processing Instruction 0: An account required by the instruction is missing.But based on the SPL I send all parameters. It seems that JS doesn't work as expected.

Js code: https://github.com/triadxyz/spl-404/blob/99dd63ba9905c04a191f2c21d44fcc8449880240/sdk/src/test.ts#L111


Viewing all articles
Browse latest Browse all 7836

Trending Articles