js
js copied to clipboard
A JavaScript SDK for interacting with Metaplex's programs
How to recover arweave links generated on failure of metaplex.storage().uploadAll(metaplexFilles)?
These is the case, supposed that I want to generate 10.000 arweave links and I make a code like these: `const imageLinks = await metaplex.storage().uploadAll(metaplexFiles)` being metaplexFile an array of...
This is occurring, seemingly at random, after minting an NFT from a candy machine. The mint is successful, and the transaction didn't incur a bot tax: https://explorer.solana.com/tx/4DE3suJcv3GyNKrokufpVujYmYtojQVQT8JC8gicksgfwEhXt66d3wq7Y1hBoNgBA1r8u2MgcGb4qVi1yiLrb9LU?cluster=devnet To me, it...
I followed [this guide](https://gist.github.com/lorisleiva/a652d42cf13cb62a0818d9fe96166a76#react-with-vite) to create a React app with Vite and metaplex. My code looks like this: ```ts import { Metaplex, Nft, PublicKey } from "@metaplex-foundation/js"; import { connection...
``` const web3 = require('@solana/web3.js'); const { Metaplex, keypairIdentity, bundlrStorage } = require('@metaplex-foundation/js'); const connection = new web3.Connection(web3.clusterApiUrl('devnet')); const wallet = web3.Keypair.generate(); async function createNFT() { const metaplex = Metaplex.make(connection)...
In the readme it shows this sample: ```js import { Metaplex, keypairIdentity, bundlrStorage } from "@metaplex-foundation/js"; import { Connection, clusterApiUrl, Keypair } from "@solana/web3.js"; const connection = new Connection(clusterApiUrl("mainnet-beta")); const...
Hi, I am trying to create an nft with `@metaplex-foundation/js`. It works fine on the `devnet`, however does not work on the `testnet`. **Code snippet:** ```javascript async function main() {...
 I am facing this issue . I have created keypair and added airdrop function to add fund to it. I am working on devnet . Please...
Hello, and firstly thank you for a great library! We are aiming to load NFTs in bulk including the JSON files. The current implementation is as follows; 1. use metaplex.nfts().findAllByMintList({...
Seeing this fun error when printing an edition: Token Metadata Program Instruction > Program logged: "IX: Mint New Edition from Master Edition Via Token" > Program logged: "Already initialized" >...