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
We have been encountering timeout problems on mainnet-beta while creating ( Mint ) an NFT using the SDK (metaplex-foundation/js) for the past week. Despite our efforts, we continue to face the same issue.
I am also sharing our code with you for review. Could you please provide an urgent solution?
Greetings Team,
Hope you're doing well!
We have been encountering timeout problems on mainnet-beta while creating ( Mint ) an NFT using the SDK (metaplex-foundation/js) for the past week. Despite our efforts, we continue to face the same issue.
I am also sharing our code with you for review. Could you please provide an urgent solution?
Code : -
const {
Metaplex,
keypairIdentity,
bundlrStorage,
} = require("@metaplex-foundation/js");
const {
Connection,
clusterApiUrl,
Keypair,
PublicKey,
} = require("@solana/web3.js");
const token = require("@solana/spl-token");
const {
transfer,
getAccount,
} = require("@solana/spl-token");
const bs58 = require("bs58");
const metaplex1 = Metaplex.make(connection)
.use(keypairIdentity(wallet1))
.use(
bundlrStorage({
address: METAPLEX_BUNDLER_ADDRESS,
providerUrl: METAPLEX_BUNDLER_PROVIDER,
timeout: 60000,
})
);
const { uri } = await metaplex1.nfts().uploadMetadata(metadata);
Packages Versions :-
"@metaplex-foundation/js": "^0.18.3",
"@solana/spl-token": "^0.4.1",
"@solana/web3.js": "^1.90.1",
Thanks in advance !!!
The text was updated successfully, but these errors were encountered: