Skip to main content

Questions tagged [uniques]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
32 views

How to increment Uniques Pallet T::ItemId

I have following substrate pallet implementation to split an Item and create new Items #[pallet::call_index(26)] #[pallet::weight(T::WeightInfo::split())] pub fn split( ...
Kalanamith's user avatar
1 vote
1 answer
32 views

I want to implement NFT purchasing function in the marketplace based on a substrate node

Now I am trying to implement NFT purchasing functionality based on a substrate node. I got this function from the polkadot js documentation. buyItem(collection: u32, item: u32, bid_price: u128) ...
Alan Ma's user avatar
  • 47
0 votes
1 answer
49 views

Uncaught (in promise) Error: Cannot convert 'InBlock' via asFinalized

I am trying to sign and send some transactions using the batch function. Here are some code snippets for reproduction. const nftMinting = async (item) => { try { let collection = 1 ...
Alan Ma's user avatar
  • 47
0 votes
1 answer
22 views

Is the uniques approvals functionality correct?

When an owner of an item makes a call to approve_transfer he allows an account to make transfers with that item. But if the owner transfers the item to a third account after making a call to ...
Szegoo's user avatar
  • 682
3 votes
2 answers
147 views

How to decorate polkadot.js api with upcoming runtime features

There's upcoming features coming to pallet uniques. They are now merged to master of substrate repo but not yet released. We would like to be prepared for it on Singular marketplace but not 100% sure ...
Yuri's user avatar
  • 173
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
92 views

How to create NFT in Statemint?

How to create nft in statemint in javascript.and how to set the nft images. can any one provide the example. my test code go wrong. const wsProvider = new polkadot.WsProvider("wss://westmint-rpc....
polaris's user avatar
  • 29