Closed yuhj86 closed 5 months ago
Hey @yuhj86 testnet has not the latest versions of the program since testnet is not made for us developers but to test solana itself. You should use devnet or localnet instead for testing.
Thank you for explaining.
Having a similar problem, looks like devnet is down, getting error: failed to send transaction: Transaction simulation failed: Error processing Instruction 0: Failed to serialize or deserialize account data: Unknown
at Connection.sendEncodedTransaction
const connection = new Connection(clusterApiUrl('testnet'), "confirmed");
const umi = createUmi(connection) .use(walletAdapterIdentity(wallet)) .use(mplCandyMachine());
const mint = generateSigner(umi) await createNft(umi, { mint, name: 'My NFT', uri: 'https://example.com/my-nft.json', sellerFeeBasisPoints: percentAmount(5.5), }).sendAndConfirm(umi) const asset = await fetchDigitalAsset(umi, mint.publicKey)
run this example code, is ok on devnet, but got error on testnet
package.json
error log: