Sending non-EOS tokens in EOS network with cleos

It appears that cleos cannot initiate transfers for tokens other than EOS. So, the following command syntax should be used instead. here I tested to move one ADD token between my account.

It appears that the amount precision should be exactly that defined in the token contract. First I tried “1.0 ADD”, and I got an error “symbol precision mismatch”. But then adding some zeros has helped:

cleos -u https://eos.greymass.com push action eosadddddddd transfer '["FROMACCOUNT", "TOACCOUNT", "1.0000 ADD", "testing"]' -p FROMACCOUNT

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store