Raptor3um / raptoreum

MIT License
316 stars 134 forks source link

Update "help createasset" output (develop branch) #384

Open Raptor3um opened 4 months ago

Raptor3um commented 4 months ago

Raptoreumcore version: v2.0.02.99 (develop branch) Chain: Testnet

Add note to help createasset that if "is_root" than name must be uppercase.

Update current example command: raptoreum-cli createasset '{"name":"test asset", "updatable":true, "isunique":false, "maxMintCount":10, "decimalpoint":2, "referenceHash":"", "type":0, "targetAddress":"yQPzaDmnF3FtRsoWijUN7aZDcEdyNAcmVk", "issueFrequency":0, "amount":10000,"ownerAddress":"yRyiTCKfqMG2dQ9oUvs932TjN1R1MNUTWM"}'

to: raptoreum-cli createasset '{"name":"TEST ASSET", "updatable":true, "is_root":true, "isunique":false, "maxMintCount":10, "decimalpoint":2, "referenceHash":"", "type":0, "targetAddress":"yQPzaDmnF3FtRsoWijUN7aZDcEdyNAcmVk", "issueFrequency":0, "amount":10000,"ownerAddress":"yRyiTCKfqMG2dQ9oUvs932TjN1R1MNUTWM"}'

Add additional example command for sub-asset: createasset '{"name":"testy", "updatable":true, "is_root":false, "root_name":"TEST ASSET", "isunique":false, "maxMintCount":10, "decimalpoint":2, "referenceHash":"", "type":0, "targetAddress":"yRyiTCKfqMG2dQ9oUvs932TjN1R1MNUTWM", "issueFrequency":0, "amount":10000,"ownerAddress":"yRyiTCKfqMG2dQ9oUvs932TjN1R1MNUTWM"}'

drmancini commented 2 months ago

I have this fixed in my upcoming PR