Skip to main content
12 votes

Buying on Magiceden through coding

you'd just have to create a script that can create transactions with the correct instructions for the marketplace program for Magic Eden and then submit it to any node. Check out their API ...
Mocolicious's user avatar
10 votes
Accepted

How do I get all NFTs for a given wallet?

Given a wallet address, you can use findAllByOwner() from @metaplex-foundation/js to get all the NFTs that wallet owns. import { Metaplex, keypairIdentity } from "@metaplex-foundation/js"; ...
Jacob Creech's user avatar
  • 3,854
7 votes

Get NFT transaction history

Alongside https://www.npmjs.com/package/@metaplex-foundation/js in retrieving the given NFT's information, you need to: Obtain the signatures for the account first. (Signatures are basically the Tx ...
Nicholas's user avatar
  • 481
5 votes

Metaplex find nfts by creator socket timeout?

when you create your connection also pass it an httpAgent: false to bypass the socket timeout from node. const connection = new Connection('RPC_URL', { httpAgent: false }) An http.Agent that will be ...
Wooddyy's user avatar
  • 51
5 votes

Buying on Magiceden through coding

You can use Magic Eden's API to accomplish this. Find their documentation here: https://api.magiceden.dev/#intro I saw you mention you tried to use Magic Eden's api to accomplish this but you were ...
T.J. Littlejohn's user avatar
4 votes
Accepted

How to connect two Candy Machines?

Using the Suger CLI you can combine 2 collections into 1. First upload the public collection: sugar upload assets/public -c config/public.json --cache .cache/public.json -k <WALLET KEYPAIR.json> ...
Jacob Creech's user avatar
  • 3,854
4 votes
Accepted

"error: ... An account required by the instruction is missing" when creating metaplex metadata account

I think you may need to include Rent for the metadata account: #[derive(Accounts)] pub struct MintToken<'info> { ... pub rent: Sysvar<'info, Rent>, } Then just add: ctx.accounts....
Joe C's user avatar
  • 1,086
3 votes

How to create a discord bot to retrieve nfts from my wallet with no coding experience?

This question is a bit too much to handle if you want ALL the details. It's also not really clear what you want to achieve. I assume you want live updates on NFTs which your wallet holds. For example, ...
Josip Volarević's user avatar
3 votes
Accepted

How to retrieve a list of NFT items from a collection on Magic Eden with curl?

Ok, I've found it at https://api.magiceden.dev/ Mainnet: api-mainnet.magiceden.dev/v2 The following curl command works: % curl --location -s 'api-mainnet.magiceden.dev/v2/collections/...
kenorb's user avatar
  • 529
3 votes

How do I get all NFTs for a given wallet?

You can use the @nfteyez/sol-rayz package to parse NFTs on Solana. This package is a good alternative to @metaplex-foundation/js import { resolveToWalletAddress, getParsedNftAccountsByOwner, } ...
Concise Labs's user avatar
  • 1,376
3 votes

Buying on Magiceden through coding

magiceden has a closed source fork of auction house. there are a few people who have reverse engineered some or all of it - but it is a spy vs spy game.
jrsfiend's user avatar
3 votes
Accepted

retrieving my seed phrase from id.json file

Do not share your array in id.json i.e private key with anyone. The array in id.json file represent the private key of your wallet. Goto phantom or any Solana wallet. Select add/connect wallet. ...
ashish250990's user avatar
3 votes
Accepted

How to get NFT total supply?

On a Anchor program, using metadata account the details are stored inside the optional field collection_details use anchor_lang::prelude::*; use anchor_spl::metadata::{ mpl_token_metadata::...
Jimii's user avatar
  • 3,270
3 votes

How to find the collection address to which it belongs through the nftmint account? How to write it in the backend Anchor

If the mint address contains Metadata added to it through the Metadata program, you can get this from the metadata account The Metadata Account contains an optional Collection field which contains the ...
Jimii's user avatar
  • 3,270
2 votes

Get NFT transaction history

You can try using Helius's "Parse Transactions(s)" API that returns parsed transactions. You can include up to 100 transaction signatures in a single request. And there's a free tier you can ...
john's user avatar
  • 7,445
2 votes

How can I give update authority of an NFT to a program

You would need to set the authority to a PDA of your program. Your program would then need to provide otherwise authenticated wrapper instructions that CPI into the metaplex program(s) to perform ...
trent.sol's user avatar
  • 4,415
2 votes

Is there a way to edit NFT metadata in python?

You can try to rewrite Metaplex sdk in python (a lot of people would be grateful) https://github.com/metaplex-foundation/js What you're looking for is in https://github.com/metaplex-foundation/js/blob/...
vicyyn's user avatar
  • 4,095
2 votes
Accepted

How to certify a group of uploaded images and metadata as a single collection on Solana?

Uploading the Image and Json to a Storage its not enough to create a Collection. That data is stored off-chain and its not on Solana network, so you have to create the NFTs somehow providing the JSON ...
WrathionTBP's user avatar
2 votes
Accepted

Do I have to verify all creators every time after creating an nft?

If you're using metaplex to create your NFT (metaplex.nfts().create()) then you can pass in the creators option with the authority field set as a Signer object (for each creator). This will set and ...
meditatingsloth's user avatar
1 vote
Accepted

does the authority of compressed NFTs work the same as normal NFTs?

Yes, the traditional concept of having a freeze authority and mint authority is the same for Compressed NFTs on Solana. However, there is a specific scope for each account found in the authorities ...
Ellie's user avatar
  • 107
1 vote
Accepted

Do ATAs hold Compressed NFTs

They are not. Ownership of cNFTs is stored directly in the leaf of the Merkle tree and hashed with the other data.
kwelliott's user avatar
  • 514
1 vote

Why does fetching of compressed nfts by collection/owner not work?

The issue were running into was actually a bug in both the script repo you linked, as well as the RPC indexing code. Specifically, with passing in a page=0 value. The correct value for the page ...
nickfrosty's user avatar
  • 1,058
1 vote

how to fetch mint address list from creator (without metaplex)?

yes you can do this for sure. You can search the findAllByCreator inside the JS Metaplex Repo for the implementation for findAllByCreator or if you want to look at the rust implementation that you ...
Pratik.js's user avatar
  • 1,632
1 vote

create solana token without use of spl-token library

Solana is a blockchain like Ethereum or Polygon but stands out for it super fast and low fee nature. Meaning you can also write smart contracts on Solana as it is done in other Blockchain but this ...
Marco Kuidja's user avatar
1 vote

create solana token without use of spl-token library

Yes Solana allows you to write your own smart contracts, you are not restricted to using only existing smart contracts.. Let me help with some resources that will guide you on your learning phase. ...
medaltechie.sol's user avatar
1 vote
Accepted

Arweave image urls broken for some collections with error GET request error `net::ERR_SSL_PROTOCOL_ERROR`

I think I've found the likely cause. Since someone upvoted this question, I assume they might be having the same issue. Strangely, this seems it might be an issue with my service provider. I tried ...
8bithero's user avatar
  • 496
1 vote

1-of-1 NFT in a collection of Solana

1/1 are special or unique art designed by the artist.
Pratik.js's user avatar
  • 1,632
1 vote

How to retrieve the master NFT edition from the printed edition

An Edition Account has a parent attribute (in its account data) pointing to the Master Edition, see source. To get from the Mint Account to the Edition Account you can use the seed described here.
Tomvkgames's user avatar
1 vote
Accepted

How can I prevent a user with several wallets from performing the same action several times?

There's no way to prevent this. Perhaps you could charge a fee to perform the action, discouraging people from doing it indiscriminately, but ultimately in web3 there's no way to stop someone using ...
Ademola's user avatar
  • 3,833
1 vote
Accepted

How to find out which collection a token mint belongs to

You can't do that without doing an additional request, unless you have stored that information somewhere. However, it isn't that hard, if you have the metadata address you can use @metaplex-foundation/...
Arowana's user avatar
  • 2,243

Only top scored, non community-wiki answers of a minimum length are eligible