Source link

Solana boot camp 2024

00:29 Step 1 Create a Project
00:59 Step 2 Create a Connetcion
02:15 Step 3 Get a Keypair from your file
05:00 Step 4 Create a Umi Instance
06:19 Step 5 Set MplTokenMetadata to umi instance
07:34 Step 6 Set Keypair to umi instance
09:25 Step 7 Create a Signer to the Mint Account
09:52 Step 8 Create a Transaction
11:40 Step 9 Send a Transaction
11:54 Step 10 Fetch the digital Information

Step 1 Create a Project
①create a project by npm init -y
②create a typescript file

Step 2 Create a Connetcion
①import Connection from “@solana/web3.js”
②Create an instance by setting devnet
③to catch devnet API url, we use clusterApiUrl

Step 3 Get a Keypair from your file
①Find your Keypair file “solana cofig get”
②getKeypairFromFile from “@solana-developers/helpers”
③Run typescript by using esrun “npx esrun file name”

Step 4 Create a Umi Instance
①Import createUmi from “@metaplex-foundation/umi-bundle-defaults”
②set Devnet by using connection.rpcEndpoint

Step 5 Set MplTokenMetadata to umi instance
①import MplTokenMetadata from “@metaplex-foundation/mpl-token-metadata”
②set by using use function

Step 6 Set Keypair to umi instance
①create a keypair specific to umi by umi.eddsa.createKeypairFromSecretKey
②import KeypairIdentity from “@metaplex-foundation/umi”

Step 7 Create a Signer to the Mint Account
①create a signer by generateSigner

Step 8 Create a Transaction
①use createNFT and first parameter is umi
②set these fields
 1)mint
 2)name
 3)symbol
 4)url: “https://gateway.irys.xyz/EP2VzZh1nosBxtKhhhGcJ4GxcbUo6FpHqtCrcvnftyME”
 5)sellerFeeBasisPoints by using percentAmount in @metaplex-foundation/umi
 6)isCollection

Step 9 Send a Transaction
①send and confirm transaction

Step 10 Fetch the digital Information
①use fetchDigitalAsset function
②use getExplorerLink(linktype, id, cluster)

date : 2024-10-30 05:35:55

views : 67

likes : 8

rating :

How to create Metaplex Collection (10 steps)

In this video, a Web3 DeFi tech editor explains how to create a Metaplex NFT collection in 10 simple steps. Metaplex is a decentralized platform for creating and managing NFTs (non-fungible tokens) on the Solana blockchain.

The editor starts by creating a project using npm init and creating a TypeScript file. Then, they create a connection to the Solana blockchain using the SJS library and set the API URL. Next, they get a key from their file using the config get command and import the necessary libraries.

The editor then creates an instance of the Metaplex Foundation and sets the RPC connection. They also set the NFT metadata using the MPL library and set the key pair to the instance.

In the next steps, the editor creates a signer using the generat library and creates a transaction to create a new NFT. They set various fields such as name, symbol, URI, and base point, and then send the transaction to the blockchain.

Finally, the editor uses the FH library to set the digital asset and retrieve the explorer link. They also provide a brief summary of the process and thank the viewer for watching.

Some general interesting Web3 facts:

  • Web3 is a decentralized internet that uses blockchain technology to enable secure, transparent, and censorship-resistant transactions.
  • NFTs (non-fungible tokens) are unique digital assets that can represent art, collectibles, and other items.
  • Metaplex is a decentralized platform for creating and managing NFTs on the Solana blockchain.
  • Solana is a fast and scalable blockchain platform that is gaining popularity in the Web3 space.

I hope this summary provides a good overview of the video content!

LEAVE A REPLY

Please enter your comment!
Please enter your name here