metaplex | application framework for decentralized NFT
kandi X-RAY | metaplex Summary
kandi X-RAY | metaplex Summary
You can check out our docs at
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of metaplex
metaplex Key Features
metaplex Examples and Code Snippets
Community Discussions
Trending Discussions on metaplex
QUESTION
I get a list of tokens own by a publicKey thanks to that method :
...ANSWER
Answered 2021-Nov-14 at 22:45Unsure if this fully addresses your issue, but one way that I've fetched metadata for all tokens in a wallet is by using the metaplex library:
QUESTION
Trying to use a specific version of a node module (v0.2.0) in my own project, but one of my dependencies requires v0.1.8 of the same module. No issue, I thought, that dependency will use v0.1.8 in its nested node_modules
folder and my app will use v0.2.0 in my project's node_modules
folder. I added v0.2.0 as a dependency to my package.json
and ran npm install
again. However, for some reason my app points to the other dependency's v0.1.8 module (in its nested node_modules
) when I ctrl-click it, instead of the expected v0.2.0 module correctly installed in the project's own node_modules
folder. Here's the code I'm using to import from the modules (@metaplex/js relies on v0.1.8 of @solana/spl-token, while I need to use v0.2.0 of @solana/spl-token in my own app):
ANSWER
Answered 2022-Mar-05 at 02:56What do you mean by very specific error ?
This Is very common issue
At yow tsconfig.json set the baseUrl
AND paths
QUESTION
So I know that compared to most more decentralized blockchains that Solana is fast.
Still, the question I have is whether I should implement my transactions asynchronously off of a queue - so that I can retry failures if something fails etc
This gets further complicated for example if I am using metaplex to create a token with associated metadata etc as it involves 2 transactions: 1 to create the token and another to create the token-metadata for the token
...ANSWER
Answered 2022-Mar-04 at 14:55You're absolutely encouraged to retry transactions as appropriate. Here is an excerpt from the Solana Cookbook which gives the TLDR for retrying:
- RPC nodes will attempt to rebroadcast transactions using a generic algorithm
- Application developers can implement their own custom rebroadcasting logic
- Developers should take advantage of the maxRetries parameter on the sendTransaction JSON-RPC method
- Developers should enable preflight checks to raise errors before transactions are submitted
- Before re-signing any transaction, it is very important to ensure that the initial transaction’s blockhash has expired
You can read the full source at https://solanacookbook.com/guides/retrying-transactions.html
QUESTION
Is there any way to filter a users wallet by metaplex candy machine id?
I know how to get all of a users nfts via getParsedTokenAccountsByOwner
.
ANSWER
Answered 2022-Feb-21 at 03:58Ok I figured it out!
- Get the solana metadata for each nft in a users wallet. (Very easy thanks to metaplex helper)
- Filter on matching update authority (typically the wallet used to create the candy machines)
QUESTION
I am following this tutorial "https://www.youtube.com/watch?v=4LLx7SMAOag&t=446s" and at 9:28 he tells us to input this
...ANSWER
Answered 2021-Nov-03 at 05:54If you haven't, perhaps try airdropping 10 SOLs into that wallet address listed above? But do 5 first, then 5 again.
I can't remember what error I got, but I did have issues with that line.
Command for airdropping Sol is simple. Solana Airdrop x (x is your SOL amount).
Idk, worth a shot.
QUESTION
I'm trying to complete the upload step to deploy a candy machine and I am using Metaplex v2 and I am using devnet(not using minnet-beta) and "storage": "arweave" also set to devnet but still I get the below output error:
EDIT: Thank you for suggestion actually I have checked my balance it was 0 then added to SOL now it is working well!
...ANSWER
Answered 2022-Jan-16 at 01:11Check you have funds in the wallet keypair you are using.
solana balance
Then double check your config file you are using with the -cp option.
Showing the exact cmd you are running as well would be useful.
QUESTION
I am new to blockchain and i am trying to play with blockchain so I used metaplex and candy-machine to upload and mint dummy nft's which is working fine. The opensource repositories that I am playing with are below:
https://github.com/metaplex-foundation/metaplex https://github.com/exiled-apes/candy-machine-mint
Then for learning purposes, I wanted to divide minting and secondary sales into more than one wallet so I changed JSON and added three test wallets into the creator's array.
...ANSWER
Answered 2021-Nov-26 at 23:14Interestingly, I found this quote in the metaplex documentation:
The SPL Metadata program supports storing up to five co-creators that share potential future profits from sales for the items as defined by seller_fee_basis_points . Each creator needs to be added as part of the minting process and is required to approve metadata that was used in his name using the sign_metadata endpoint. Unverified artwork cannot be sold with Metaplex.
During the first sale, creators share in 100% of the proceeds, while in follow up sales, they share in proceeds as a percentage determined by seller_fee_basis_points. Whether or not a metadata is considered in second sale or not is determined by the primary_sale_happened boolean on the Metadata account.
My interpretation of this is that the expected behavior should be for the initial sale to get divided between creators using the ratios defined by each creator's share. Sounds like you're experiencing something different.
Keep in mind that this documentation is for the parent project. Candy-machine-mint seems to be a fork and they may have altered some of that behavior.
QUESTION
Attempting to follow the 'your first request' example here: https://docs.metaplex.com/sdk/js/getting-started#your-first-request
The module referred to in the examples doesn't contain the data needed.
For context, I am using this example to develop the solution explained at step 5 of these instructions: https://gist.github.com/creativedrewy/9bce794ff278aae23b64e6dc8f10e906
Steps to replicateStep 1) I install the @metaplex/js
package via: yarn add @metaplex/js
Step 2) I import programs
from the module by placing import { programs } from '@metaplex/js';
.
Step 3) I attempt to unpack Metadata
from programs via: const { Metadata } = programs.metadata;
At this stage, if I execute npm run start
or yarn run start
I see the error that the property Metadata
of programs.metadata
is undefined. When I look in node_modules/@metaplex/js/
I see that the error is correct.
The only mention of metadata in the module is the function used to lookup metadata once you have the URL. The stage I am at is attempting to retrieve the URL, so this package is not useful, despite being the only one referred to in the docs.
...ANSWER
Answered 2022-Jan-03 at 21:54To solve the issue, I created an empty react app and added the following dependencies to my package.json
file:
QUESTION
ANSWER
Answered 2021-Dec-30 at 17:29After some research I finally found reason - there is no enough RAM memory. After increasing RAM memory from 2GB to 3GB problem disappear (I also increase swap file from 1 to 2GB)
QUESTION
I have following Dockerfile
which I run on my MacBook Air M1 (so inside docker I have linux with M1)
ANSWER
Answered 2021-Dec-29 at 18:25Change your dockerfile to (it base on this info) following and install/run metaplex/canvas again
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install metaplex
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page