1

When I use umi, it return error related to signerIdentity method. I did research but there was no solution or document about it. When I use js sdk, it return this error:

enter image description here

This is the code:

enter image description here

This is how I init Metaplex instance:

enter image description here

2
  • Can you share how your Metaplex instance is being initialized?
    – Ademola
    May 17, 2023 at 8:36
  • I edited my question @Ademola
    – marethyu
    May 17, 2023 at 8:51

1 Answer 1

1

you can use candymachine to mint NFT. now candymachine v3 available.

there are three steps to mint nft using candy machine.

  1. create candy machine
  2. insert items to candy machine
  3. mint

you can reference more details on https://docs.metaplex.com/programs/candy-machine/minting

6
  • I did follow this but It return "signerIdentity method" error. Do you have any examples?
    – marethyu
    May 17, 2023 at 10:34
  • please share your code or meet on skype.
    – Fable Frog
    May 17, 2023 at 11:41
  • Here is my code and it return "(0 , metaplex_foundation_mpl_token_metadata__WEBPACK_IMPORTED_MODULE_3_.createNft) is not a function" error ``` const umi = createUmi("api.devnet.solana.com").use(mplCandyMachine()); const collectionUpdateAuthority = generateSigner(umi); const collectionMint = generateSigner(umi); await createNft(umi, { mint: collectionMint, authority: collectionUpdateAuthority, name: "..", uri: "...", sellerFeeBasisPoints: percentAmount(9.99, 2), // 9.99% isCollection: true, }).sendAndConfirm(umi); ```
    – marethyu
    May 18, 2023 at 1:50
  • can you please give me getting metaplex codes? it seems like you've got error with metaplex identity.
    – Fable Frog
    May 18, 2023 at 10:19
  • I just import and use them
    – marethyu
    May 22, 2023 at 1:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.