CAVYAR

CAVYAR AI

Yusuf-Uluc

Axax...GsG2

Snippets

Bookmarks

Iterate through Remaining Accounts

Iterate Through remaining accounts in context using Anchor.

Remaining Accounts

Interate

Accounts

Remaining

Axax...GsG2

0

0

Mint Token in Anchor

Mint a token in Anchor using the mpl-token-metadata crate. This might not work for you if your version is < 3.0 (Example uses 3.0.2). You need to add this to enable init_if_needed to your Cargo.toml file: anchor-lang = { version = "x.xx.x", features = ["init-if-needed"] }

Mint Token

Create Token

Create NFT

Mint NFT

Axax...GsG2

0

1

Create Mint in Anchor

Create a Mint in Anchor using the mpl-token-metadata crate. This might not work for you if your version is < 3.0 (Example uses 3.0.2)

Create Mint

Mint

Create NFT

Axax...GsG2

0

1

Unverify Creator with Umi

A creator whose verified flag is false could have been added by anyone and, therefore, cannot be trusted. On the other hand, a creator whose verified flag is true is guaranteed to have signed a transaction that verified them as a creator of that asset.

Verify Creator

Verify

Verified Creator

Axax...GsG2

0

0

Verify Creator with Umi

A creator whose verified flag is false could have been added by anyone and, therefore, cannot be trusted. On the other hand, a creator whose verified flag is true is guaranteed to have signed a transaction that verified them as a creator of that asset.

Verify Creator

Verify

Verified Creator

Axax...GsG2

0

0

Unverify Collection NFT with Umi

Once the Collection attribute is set on an NFT, an authority of the Collection NFT can send an Unverify instruction on the Token Metadata to flip its verify attribute from true to false.

Unverify Collection

Umi

Verify

Collection

Collection NFT

Axax...GsG2

0

0

Verify Collection NFT with Umi

Once the Collection attribute is set on an NFT, an authority of the Collection NFT can send a Verify instruction on the Token Metadata to flip its verify attribute from false to true.

Verify Collection

Umi

Verify

Collection

Collection NFT

Axax...GsG2

0

0

Create Collection NFT with Umi

This code let's you create a collection NFT using the mpl-token-metadata-program. Collections are useful for grouping NFTs together. This again makes it easier to fetch the NFTs later on.

Collection

NFT Collection

Create Collection

Collection NFT

Axax...GsG2

0

0

Print NFT with Umi

Print NFTs from the masterEdition using Umi and the mpl-token-metadata program.

Umi

Print NFT

Print

Mint NFT

Master Edition

Axax...GsG2

0

0