js
js copied to clipboard
A JavaScript SDK for interacting with Metaplex's programs
I'm trying to use NFT.storage as the Storage Provider plugin for Metaplex and running into dependency issues. I want to rely on the `metaplex-auth` scheme so I'm not passing any...
From what I can tell `printNewEdition` requires `originalSupply` to be passed in by the client. It is then incremented by 1 and used as the edition in the instructions. https://github.com/metaplex-foundation/js/blob/278b93334d73ca995abd98517c9082752209fd02/packages/js/src/plugins/nftModule/operations/printNewEdition.ts#L276...
When I try to “Listing assets” in **auctionHouse** using the below code we are getting the following error pasted the “Request” and “Response” below for your reference. **Request**: const {...
There's no mention of `metaplex.rpc()` in https://github.com/metaplex-foundation/js. However the code seems to have been added in Metaplex 0.19 (see https://github.com/solana-developers/compressed-nfts/blob/master/metaplex/fetchNFTsByOwner.ts for an example). Related to https://github.com/metaplex-foundation/js/pull/480
The old repo had a top level CHANGELOG, this new repo seems to use the GitHub releases page instead.
May be related to https://github.com/metaplex-foundation/js/issues/514 as I can't find any documentation on `metaplex.nft()`. ``` const assetListOrError = await metaplex.rpc().getAssetsByOwner({ ownerAddress: publicKey.toBase58(), }); ``` (wallet address is my own `5FHwkrdxntdK24hgQU8qgBjn35Y1zwhz1GZwCkP2UJnM`) Returns:...
There is a 20th guard, called [`allocation`](https://github.com/metaplex-foundation/mpl-candy-machine/blob/5fd4a0d1b9e909e60a79b99ff5999b832ff5d79b/programs/candy-guard/program/src/guards/allocation.rs), in the on-chain program but it is not [registered](https://github.com/metaplex-foundation/js/blob/4c2c4eafc2158ab6970073f3d49181228ed54260/packages/js/src/plugins/candyMachineModule/plugin.ts#L103-L121) in the SDK. Let's say I add a 21st custom guard, below `allocation`, to...
According to the docs, we should be able to update pNFTs with something like: ``` await metaplex.nfts().update({ nftOrSft, name: "My new NFT name", ruleSet: ruleSet.publicKey, }); ``` I already have...
I added `@metaplex-foundation/js` to my project, I'm seeing the following error in Visual Studio Code. ``` Could not find a declaration file for module '@metaplex-foundation/js'. '/Users/XXX/project/node_modules/@metaplex-foundation/js/dist/esm/index.mjs' implicitly has an 'any'...
Hi, I'm trying to mint from candy machine using both the solPayment and nftBurn guards together but I'm receiving the error `Transaction too large: 1264 > 1232` Here's my candymachine...