Disclaimer: This article is intended to convey more market information and does not constitute any investment advice. The article only represents the author's views and does not represent the official position of MarsBit. Editor: Remember to pay attention. Source: twitter. Origin

Disclaimer: This article is intended to convey more market information and does not constitute any investment advice. The article only represents the author's views and does not represent the official position of MarsBit. Editor of

: Remember to follow

Source: twitter

Original title: Be the first to start the real-time opening of NFT Mint: How to know in advance the pictures, attributes and rarity of unopened NFTs. The activity on the

chain has been deserted, and the NFT market has also become hot. Dropped to freezing point. Taking advantage of the single-digit gas price, occasionally participating in some TuGou NFT mint can be regarded as a spice to Web3 life. Today,

will talk about how to learn in advance the pictures, attributes, rarity and other information of unopened NFTs when participating in the NFT Mint process that opens images in real time, so as to help you seize some opportunities.

1/ NFT basic course

  • First of all, let’s understand some basic concepts about NFT
  • Most of the pictures, attribute information and other files of the NFT series are stored in IPFS
  • Each NFT work corresponds to a token ID, and the corresponding information is read through the TokenURI function of the smart contract
  • TokenURI Corresponds to a specific JSON file, called metadata Meta information, which stores image location, attributes and other information

2/ Get the TokenURI information of the NFT series

  • Open the NFT contract in etherscan
  • Find the Contract - Read Contract
  • Turn to the tokenURI - Enter a certain number

to get the token ID = 2 The address where the metadata is located. As can be seen from the figure, it is stored in IPFS. The suffix 2.json indicates that it is stored in the form of a folder. The beginning of the string bafybe is the CID value of the folder.

3/ How to access IPFS files

IPFS is a decentralized file storage form, similar to BT downloads in the early years. Most NFT projects now choose IPFS to store images and metadata files. In addition to the slightly cumbersome method of installing the IPFS local client, you can also directly access IPFS files through a browser through a third-party node, such as http://ipfs.io/ipfs/{CID}, the official node (unfortunately a bit slow).

4/ Let IPFS access wings

The slow ipfs.io official node is really wearing down your patience. After many searches, I found a node that can be opened almost instantly. It is an independent node opened by opensea in pinata http://opensea.mypinata.cloud/ipfs/{CID} (this is a paid version with almost no traffic/speed restrictions) . Note on

: It is recommended not to access excessively. Be careful if opensea cannot afford the node traffic fee and runs away.

5/ NFT open the map in advance and practice

In the afternoon, I was wandering around mint. fun and saw a certain BAYC imitation NFT, which opened the image in real time. We just used this series to do a practice of opening the map in advance:

  1. found the contract etherscan page
  2. html opened at 12 o'clock read contract
  3. reads tokenURI
  4. locates the current latest tokenID = 2694
  5. Modify tokenURI. The number at the end of the obtained string is 2694.json
  6. Get the image address format

6/ What does the next unopened NFT look like?

Follow the above steps to find the JSON file of the next NFT, and then locate the corresponding image location. Use opensea + pinata The node is opened, and now you can learn in advance what the next NFT image that has not yet been minted will look like before others do.

P.S. In fact, you can skip the json file step and directly modify the image ID to view the appearance of all unopened NFTs.

7/ Program to query rare attributes in batches NFT

Manually open pictures in advance, which almost satisfies curiosity. If you really want to use TuGou in actual combat and reserve rare models in advance, you must first solve the problem of batch query. The screenshot is a tool I wrote using Python to query NFT rare attributes in advance. Just configure the corresponding parameters and add the name of the rare attribute, and you can query all unopened rare NFT Token IDs with one click. Such as 2731.

8/ Automatic mint rare models NFT

The previous step solved the problem of rare model positioning. The next step is how to ensure that you can mint rare models.For less popular NFTs, manually refreshing the page and mint may work. But for the popular series, you definitely can’t beat the scientists. what to do? If you can't beat it, you can only join. Use your own tools or write scripts to automatically mint.

Note: I didn’t write the mint script because I was afraid of losing money. Gas

Editor: Lynn