CLI Commands
Functionality | Sample Usage | Description | Flags |
---|---|---|---|
Create FT | ./rubixgoplatform create-ft | This command is used for creating Fungible Tokens (FTs). | -ftName string Name of FT to be created (default “") -ftCount int Count of FTs to be created (default “0”) -rbtAmount int Amount of RBT to be used for the creation of FT (default 0) -did string DID of the user (default “") -port string Server/Host port (default “20000”) |
Transfer FT | ./rubixgoplatform transfer-ft | This command is used for transferring Fungible Tokens (FTs). | -port string Server/Host port (default “20000”) -senderAddr string Sender address (default “") -receiverAddr string Receiver address (default “") -ftName string Name of FT to be transferred (default “") -ftCount int Count of FTs to be transferred (default “0”) -transComment string Transfer comment (default “Test transaction”) -transType int Transaction type (default 2) -fp Force password to be entered on the terminal(default “") -creatorDID DID of the creator of the FT (default “") |
Get FT Info | ./rubixgoplatform get-ft-info-by-did | This command is used for getting the balance of FTs. | -did string DID of the user (default “") -port string Server/Host port (default “20000”) |
Dump FT | ./rubixgoplatform dump-ft | Use this command to dump the token chain of FT. | -addr string Server/Host Address (default “localhost”) -port string Server/Host port (default “20000”) -token string FT token ID (default “") |
Get FT token chain | ./rubixgoplatform get-ft-token-chain-data | Use this command to dump the token chain of FT. | -addr string Server/Host Address (default “localhost”) -port string Server/Host port (default “20000”) -token string FT token ID (default “") |
-fp
is mandatory when you have a password created during the creation of DID.-creatorDID
is mandatory when you have multiple FTs with the same FT Name.