Skip to main content

Questions tagged [umi]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
44 views

Where to add setComputeUnitLimit and setComputeUnitPrice so we can adjust fees?

as you know solana Congestion has happened for days now, and i can't get anything trough. I was trying to do a metadata initialization and update, but it keeps failing. i'm a newbie, did a bit of ...
Martin Delagoncey's user avatar
1 vote
1 answer
23 views

InvalidAccountData error on token transfer function ( using metaplex-toolbox )

I've created a dApp on React which uses the Solana blockchain to create, mint, and send utility tokens. I'm using @metaplex-foundation/umi and @mpl-toolbox to create the token, mint it to the creator'...
Sudhanshu Shekhar's user avatar
0 votes
1 answer
13 views

About composable metadata standard in one dapp

Can we use umi and mpltokenmetadata lib same time in one solana transaction
Shivam Soni's user avatar
2 votes
0 answers
30 views

TransferV1 + token-2022

I've been struggling for a while with a transferV1 transaction from the mpl-token-metadata library using the Umi interface. Many examples here and there show how to do it with the classic spl-token ...
Alexandre Dury's user avatar
1 vote
1 answer
20 views

Cnft collection token documentation

I am trying to mint cnfts one by one (no usermint on candy machine) using bublegum and umi and I want them to be part of a collection. There is documentation about creating tree and how to mint cnft ...
Bud Loaded Frogs's user avatar
1 vote
1 answer
158 views

Creating SPL token Non-Transferable Extension with metadata on React

I'm trying to create SPL token with Non-Transferable Extension with metadata. Right now I can create token with each features only follow these guides, and fails to combine them. below is how I tried ...
cablespecific's user avatar
2 votes
1 answer
374 views

How to get Token 2022 Program metadata?

Everything works for tokens with Token Program (TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA). import * as solWeb3 from '@solana/web3.js'; import { Metaplex } from '@metaplex-foundation/js'; const ...
bossikkk's user avatar
1 vote
0 answers
164 views

How to burn LP token using Metaplex

How do i burn lp token using metaplex burnv1? This is giving me the error "incorrect account owner" const umi = createUmi(RPC_ENDPOINT).use(walletAdapterIdentity(wallet)).use(...
bicced's user avatar
  • 31
3 votes
1 answer
147 views

Unable to configure signer for delegate using walletAdapterIdentity (metaplex UMI)

Getting an error publicKey.toBase58 is not a function when calling delegateStaingV1 I've spent quite some time making sure my UMI instance is setup correctly to use the walletAdapterIdentity plugin ...
Gstax's user avatar
  • 31
2 votes
1 answer
239 views

Is there a method available to convert the web3 PublicKey to metaplex's publicKey?

I'm using both libraries in my codebase. Whenever I pass a pubkey to an metaplex method, I sometimes need to convert: example import { Umi, publicKey } from '@metaplex-foundation/umi'; import { ...
Hyetigran's user avatar
  • 197
0 votes
0 answers
107 views

Signing a transaction on the client side with walletAdapterIdentity plugin, but getting an error

Im trying to sign a transaction on the client side with walletAdapterIdentity plugin, but I'm getting the error: TypeError: wallet.signTransaction is not a function Its strange because ...
Gstax's user avatar
  • 31
0 votes
0 answers
51 views

pNFT delegate via metaplex umi

I'm trying to build a tx for the client to sign that will delegate the pNFT to a new address. I am using Metaplex's Umi and the walletAdapterIdentity plugin. I'm getting an error when I try to run my ...
Gstax's user avatar
  • 31
3 votes
0 answers
144 views

Using createMetadataAccountV3

I am trying to add metadata to my token, so I wrote the following function: import {clusterApiUrl} from "@solana/web3.js"; import {createUmi} from "@metaplex-foundation/umi-bundle-...
Udi Hakim's user avatar
2 votes
2 answers
105 views

Recreate a versioned transaction that has no signatures - to be able to update blockhash

I receive a serialized versioned transaction from a 3rd party API that allows me to list NFTs in specific marketplaces. However, when I get the response, transmit it to my front-end, sign it, and send ...
Oguzhan's user avatar
  • 317
1 vote
0 answers
84 views

how to sign and send multiple transactions with single confirmation click of wallet popup?

I am aware of adding multiple instructions to a single transaction. But for my use case one transaction is not enough. I have created and signed multiple transactions but don't know how to send it at ...
denimcodes's user avatar
3 votes
1 answer
50 views

How to fetch all signatures for a given ata using UMI provider with mpl-toolbox plugin?

Given an ata, I need to fetch all signatures and then all transaction. With the solana spl-token lib I used the below: const proceedsAddress = getProceedsAddress(program.programId, pubkey); ...
Hyetigran's user avatar
  • 197
1 vote
1 answer
36 views

is canopy depth the same as the length of the canopy field of the `fetchMerkleTree()` method from umi

I am trying to fetch the canopy depth and would love to know if it's the same as the length of the canopy field returned when I call the fetchMerkleTree() method from umi.
Jimii's user avatar
  • 1,478
0 votes
1 answer
33 views

Get the Root of a cNFT

I want to use the compressed NFT SDK from Tensor to create and delist NFTs. Using the DAS API I would like to know how I can get the root. Fetching using fetchMerkleTree from umi I get the changeLogs ...
Jimii's user avatar
  • 1,478
2 votes
1 answer
73 views

Designate PublicKey as signer in Kinobi generated method

I am writing a program in Anchor and generating a TypeScript SDK using Kinobi, and I want to use an instruction in a CPI where it is signed by a PDA. Specifically, I want to add it to a realms ...
Fuzzy Yeti's user avatar
1 vote
1 answer
201 views

Metaplex CM Cannot Mint NFT - AnchorError caused by account: candy_guard. Error Code: AccountOwnedByWrongProgram

I'm having trouble minting an NFT using @metaplex-foundation/[email protected]. Whenever I try to do so, I get the following error: AnchorError caused by account: candy_guard. Error Code: ...
Soroosh Ansari's user avatar
1 vote
1 answer
117 views

Error when minting a pNFT collection with candy machine and umi

I am trying to mint a pNFT collection with candy machine using the umi library. But my code is failing when trying to insert and mint my candy machine items. async function mintPnftFromCandyMachine() {...
Jimii's user avatar
  • 1,478
1 vote
3 answers
1k views

how to create a fungible token using umi from Metaplex

I have the following function, where I want to create a fungible token using UMI. const metadata = { name: "Solana Gold", symbol: "GOLDSOL", uri: "https://raw....
Jimii's user avatar
  • 1,478
3 votes
1 answer
794 views

How to upload files and images using umi

How do I upload my NFT assets using umi from Metaplex. The docs are in this page. https://github.com/metaplex-foundation/umi/blob/main/docs/storage.md Is there a tutorial or code snippet of how I can ...
Jimii's user avatar
  • 1,478