go-bitsong icon indicating copy to clipboard operation
go-bitsong copied to clipboard

Change issue fee in fan token module

Open angelorc opened this issue 3 years ago • 2 comments

The issue-fee should be an sdk.Coin string, example: --issue-fee 1ubtsg and not --issue-fee 1

Command: bitsongd tx fantoken issue --name Angelo --symbol angelo --max-supply 1000 --issue-fee 1000000 --from validator --chain-id test -b block

angelorc avatar Jun 15 '21 12:06 angelorc

what happens if the user input --issue-fee 1uxxx, not ubtsg - bondDenom? Does it exactly need to put the bond denom in the cli?

ssdbkey avatar Jun 16 '21 01:06 ssdbkey

yes we could use sdk.ParseCoin and the flag will be --issue-fee 12ubtsg (bond denom) the fee then should be distribuited with the fee pool

angelorc avatar Jun 16 '21 16:06 angelorc