Use of native amount and how to issue it

+1 vote
I am a manufacture in supply chain and want to create/issue asset for me.

I have to create 20000 shoes each costs 2000 indian rupees.

When I run the below command , I get following errors:-

chain2: issuefrom '1UEb2bKhAuq6wfrf67L74vhsdPFs9cutiVgHAm' '1UEb2bKhAuq6wfrf67L74vhsdPFs9cutiVgHAm' "shoes" 20000 0.01 2000

Error:- Invalid amount

Mine details are here

"minimum-per-output" : 100000,
"maximum-per-output" : 100000000000000,
asked Feb 7, 2018 by anonymous

1 Answer

0 votes

The answer depends on your blockchain's native currency multiple (since the issuefrom API uses display units whereas the blockchain parameters use raw units). But in any event you cannot fix a price for an asset in this way you are trying. You should issue the shoes (without the last parameter) to an address you own and then sell them in exchange transactions for the price you want.

answered Feb 7, 2018 by MultiChain
...