Open Raptor3um opened 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"}'
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"}'
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"}'
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"}'
I have this fixed in my upcoming PR
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"}'