Raptor3um / raptoreum

MIT License
317 stars 134 forks source link

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

Open Raptor3um opened 1 month ago

Raptor3um commented 1 month 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"}'