Skip to main content

Questions tagged [nft]

The tag has no usage guidance.

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

Set Item Metadata on`mintType = Public`

I just created a collection with mintType = Public. So, anyone can mint in that collection. The question is, how do you set default item metadata? So, when anyone mints it, the item will automatically ...
Rezn's user avatar
  • 1
1 vote
2 answers
28 views

EnsureOriginBy using an account set on a pallet's storage

I'm working on a feature that requires pallet-nfts ForceOrigin to only be callable by an account configured inside a separated pallet's storage. For example in pallet-A I have the following #[pallet::...
Valentin Fernandez's user avatar
0 votes
1 answer
37 views

Automatic creation of a collection in the NFTs pallet

I have a custom pallet that uses the NFTs pallet for the creation of NFTs. This pallet should have its own designated collection. It will only mint there. Ideally I would like this collection to be ...
Arjan van Eersel's user avatar
1 vote
1 answer
48 views

Setting collection metadata

I'm trying to set metadata for a collection of the NFTS pallet. I'm doing this from a custom pallet. To structure the metadata I'm using this guide: https://wiki.polkadot.network/docs/learn-nft-...
Arjan van Eersel's user avatar
1 vote
3 answers
57 views

Call without gas fees

In a custom pallet I wrote an entry point that's supposed to be called by root. The purpose of the function is to create a collection with specific metadata at the NFTs pallet. I am using dummy data ...
Arjan van Eersel's user avatar
1 vote
3 answers
96 views

Testing NFT metadata

I'm writing a custom pallet that interacts with the NFTs pallet. In particular my custom pallet mints an NFT with metadata. Here is how the token is minted and metadata is set in the custom pallet: T::...
Arjan van Eersel's user avatar
0 votes
0 answers
23 views

Couldn't setMetdata on nft using Asset Hub

This is Polkadot Punks #2 : https://kodadot.xyz/ahp/gallery/7-2 Accidentally i set Nft config of this nft to 6 { settings: 6 } which in result dosen't allow me to setMetdata on it how can i change ...
Ashutosh singh's user avatar
0 votes
0 answers
23 views

contracts.ContractReverted: The contract ran to completion but decided to revert its storage changes. Ink nft smart contract

I am trying to call the set_base_uri function and the mint_next function of the ink! NFT smart contract. When calling from polkadot-ui it is working correctly but when I call it using nextjs it gives ...
Muhammad Salman Sarwar's user avatar
0 votes
1 answer
41 views

How to restrict the minting in pallet-nft?

We need to find a way to restrict the minting in the nft pallet so only certain accounts can mint a nft or can create a collection. How can this be done?
Ganesh11's user avatar
  • 1,241
1 vote
1 answer
64 views

Can't build node when using pallet-nfts in custom pallet

I'm using pallet-nfts in my custom pallet. From the moment that I integrated pallet-nfts into my pallet it's not longer possible to build the node. The custom pallet's Cargo.toml looks like this: [...
Arjan van Eersel's user avatar
1 vote
1 answer
72 views

Setting metadata of an item of the Nfts pallet in a custom pallet

I have a custom pallet that makes calls to the Nfts pallet to create collections and mint NFTs. The problem is that I can't find a way to set the metadata of a token. I do see something like ...
Arjan van Eersel's user avatar
0 votes
1 answer
43 views

How can i create a collection on statemint nft pallet without reserving 10 DOT

Is there some way i can use to create a collection on statemint nft pallet without reserving 10 DOT i tried force create but it is currently disabled and i also tried utility batch all but it didn't ...
Ashutosh singh's user avatar
2 votes
1 answer
79 views

I'm using Polkadot js api to fetch the westmint nft pallet collection and their details but i got an error it dosen't show me the instance id

I tried to figure out the collection id from the api i got an hex value but when i tried to convert that hex to numbers i got an undefined value here is my code i think the hex value which is outside ...
Ashutosh singh's user avatar
0 votes
1 answer
345 views

error: the wasm*-unknown-unknown targets are not supported by default

I have been trying to implement pallet-nft-fractionalization with the substrate-node-template, Since pallet-nft-fractionalization was released in the last few months had to change the branch of all ...
Abhishek Ekaanth's user avatar
0 votes
0 answers
59 views

Not able to transfer NFT from one chain to another using XCM

I am attempting to convert the NFT ID into the form of MultiAssets in order to utilize XCM instructions for transferring it to another chain. However, I am only able to access the origin location and ...
Arunjot Singh's user avatar
1 vote
1 answer
84 views

Is there any way to access the storage of another pallet in Substrate-based blockchain?

I'm trying to transfer the collection ID from relay chain to a parachain. I am currently accessing the collectionId from its storage, and I am wondering if there's a way to access the storage of the ...
Arunjot Singh's user avatar
2 votes
1 answer
42 views

error[E0614]: type `<T as pallet_nfts::Config>::CollectionId` cannot be dereferenced

I want to pass the collection id in the from of MultiAssets to transfer it to the another chain. But i'm facing this issue error[E0614]: type `<T as pallet_nfts::Config>::CollectionId` cannot be ...
Arunjot Singh's user avatar
0 votes
1 answer
68 views

I want to make pallet to transfer NFTs between different chains through xcm?

I want to transfer NFTs between a relay chain and a parachain. Does anyone have any knowledge or ideas about how to accomplish this
Arunjot Singh's user avatar
6 votes
2 answers
71 views

Efficiently limit NFT transfers to members of a group

What is/are the preferred approach/es (crates, pallets, etc.) to efficiently limiting NFT transfers to members of a group? Here efficiently refers to the resources consumed to execute the transfer. ...
Begley Brothers Inc's user avatar
1 vote
1 answer
29 views

How does the pay_tips parameter work for NFTs?

Who is it voluntary for? The buyer or the creator of the NFT? Does the tip get awarded to the creator after every transfer? Is it voluntary for the buyer each time or is it only voluntary during the ...
Jordan Greenberg's user avatar
1 vote
1 answer
52 views

Creator NFT Royalties on substrate-based blockchains possible?

Coming over from the Ethereum ecosystem and haven't been able to find much information about integrating creator royalties into ERC721 contracts using rust or ink!. I know on Ethereum, the large ...
Jordan Greenberg's user avatar
7 votes
2 answers
204 views

How to mint offchain NFT in pallet_nfts

I want to try out offchain minting feature in pallet_nfts. This extrinsic nfts.mintPreSigned(mintData, signature, signer) should be used to claim the NFT as a final step. Before that, mintData ...
Filk's user avatar
  • 115
3 votes
1 answer
50 views

What is the purpose of tips in the NFTs pallet?

In pallet NFTs, I see a concept of tips: /// The max number of tips a user could send. #[pallet::constant] type MaxTips: Get<u32>; /// Allows to pay the tips. /// /// Origin must be Signed. /// ...
Bruno's user avatar
  • 8,365
1 vote
1 answer
40 views

NFT Enlisting on OpenSea

I have implemented EVM and ETH Pallet in Substrate Based chain with POA consensus mechanism. Contracts deployment in Solidity language and NFT Minting transactions are also working perfectly but i'm ...
BlockBird's user avatar
2 votes
2 answers
672 views

How to implement NFTs on a substrate chain?

I want to implement NFTs on a substrate chain. Could someone provide options/resources which can help me accomplish this?
Pankaj's user avatar
  • 2,021
1 vote
1 answer
68 views

Create child account that relies on a parent account to maintain its existential deposit to stay alive and to pay all its fees

Is it possible to generate a child account where: The child account transaction fees are deducted from a parent account The child account is kept alive with its existential deposit (ED) provided in a ...
Mohamad Al Zohbie's user avatar
0 votes
2 answers
83 views

Testing cross-contract calls

I'm in a situation where a user can mint new NFTs of a certain type B only if they are owner of NFT of type A. B NFT checks if caller has A NFT in a mint function. To instantiate a B contract I would ...
Sergei Surovsev's user avatar
1 vote
1 answer
164 views

Fractionalized NFTs

We are building an asset onboarding & tenancy platform and each asset is unique. We have designed it to use the uniques-pallet. The change that we require on top of this pallet are: The NFT is ...
Ilhan's user avatar
  • 53
2 votes
1 answer
107 views

Polkadot.js API how to add the name of an item and collection of NFT's using uniques

could someone help me with this please. I am using the polkadot.js explorer to add a collection of NFT's to a chain. I can add the collection using this. Does anyone know how to add the name of an ...
Lee's user avatar
  • 111
1 vote
1 answer
275 views

Make token/nft transfer within smart contract

I want to make token/nft transfer inside smart contracts. I saw some examples of token transfers and taking that reference, I tried to replicate something similar to that. here is the code. #![no_std] ...
pramitgaha's user avatar
1 vote
1 answer
34 views

Non-uint256 TokenID for 721/1155 NFTs? (arbitrary var types)

I'm using an InkLang implementation for 721Light/1155 (undecided) For my purpose, the contract is offering domain-like NFTs. So an infinite amount of IDs, but a max balance of 1 for any ID. From what ...
fig's user avatar
  • 11
1 vote
1 answer
106 views

Standards for PSP34 thumbnail/image and resource url?

Are there some standard attributes to use for URLs for images and other meta-information on PSP-34? I see that RMRK has that but it is only on Kusama.
user3384741's user avatar
1 vote
1 answer
130 views

Fetch storage data and convert it to primitive types with subxt

I want to get the bool value from the flipper contract. I use Rust and subxt. But I cannot convert it to a primitive type. let value: bool = api .metadata() .pallet("...
user3384741's user avatar
0 votes
1 answer
59 views

How do conventional block chains access NFTs

In the polkadot docs under NFT's they write this: A general-purpose blockchain is not built to natively understand the concept of NFTs. It is only natively aware and optimized for its own native ...
rarara's user avatar
  • 141
3 votes
2 answers
177 views

Access your NFTs using PolkadotJS API

Still very new to this ecosystem. I'm trying to build a ReactApp that can access my NFT's that I have purchased on the Singular App. High level explanation, how do I do this? Low level, point me in ...
rarara's user avatar
  • 141
9 votes
2 answers
135 views

Non Fungible Token XCM transfer documentation

I am very interested in any documentation with examples of how to send NFTs from one parachain to another with XCM.
Sokrates's user avatar
  • 421