Issuing assets is limited? Problem with new NFT in UI

+2 votes

Hi,

I was exploring the possibilities with assets and created a coin and an NFT. At least, I was hoping for doing it right, but I might have made an error. For the NFT I decleared the quantity to 3 and the units to 1:

Afterwards I've read in the API docs that the quantity for an NFT should be 0 and units should be 1. So I have a quantity of 3 at the moment, I was sending them back and forth between 2 nodes, now node 1 holds qty of 1 and node 2 holds also qty of 1. Where did the 3rd piece go?

I also issued a coin, transfers between nodes work fine. But now I am not able to issue anything new from the Web-UI. On the command line I can successfully run this command:

bbking@bc-debian:~$ multichain-cli chain1 issue 1UBXNq177rgPi8yperyAZgBhMNtr66hBAHxGCD '{"name": "realNFT", "open": true, "fungible": false, "canopen": true}' 0 1
{"method":"issue","params":["1UBXNq177rgPi8yperyAZgBhMNtr66hBAHxGCD",{"name":"realNFT","open":true,"fungible":false,"canopen":true},0,1],"id":"41253787-1742139590","chain_name":"chain1"}


c53c7736f22b05a3f4a12d5b6b7d4afe79887cc5cb8ebe8224e5cfd773c7f9e8

and I can see the NFT on the chain:

bbking@bc-debian:~$ multichain-cli chain1 listassets realNFT
{"method":"listassets","params":["realNFT"],"id":"11745015-1742142513","chain_name":"chain1"}

[
    {
        "name" : "realNFT",
        "issuetxid" : "c53c7736f22b05a3f4a12d5b6b7d4afe79887cc5cb8ebe8224e5cfd773c7f9e8",
        "assetref" : "197025-267-15557",
        "multiple" : 1,
        "units" : 1,
        "open" : true,
        "restrict" : {
            "send" : false,
            "receive" : false,
            "issue" : true
        },
        "fungible" : false,
        "canopen" : true,
        "canclose" : false,
        "totallimit" : null,
        "issuelimit" : null,
        "details" : {
        },
        "issuecount" : 1,
        "issueqty" : 0,
        "issueraw" : 0,
        "subscribed" : true,
        "synchronized" : true,
        "transactions" : 1,
        "confirmed" : 1
    }
]

When I go to the Web-UI "Issue Asset/Update" or "Send" menus, I don't see realNFT showing up there. 

What do I do wrong?

asked 2 days ago by bbking

1 Answer

0 votes

First, I'm afraid the MultiChain Web Demo doesn't support NFTs, so you would have to work with them via the command-line interface.

Second, if the number of units of the asset don't add up between the two nodes, that might be because a transaction is not yet confirmed, so an asset unit is not considered fully owned by either node. Try using a value of 0 for the minconf parameter in whichever command you are using to check balances.

answered 1 day ago by MultiChain
...