CLI Commands

FunctionalitySample UsageDescriptionFlags
Create FT./rubixgoplatform create-ftThis 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-ftThis 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-didThis 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-ftUse 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-dataUse 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 “")

NOTES:

  • -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.