eoscanada / eosc

Cross-platform EOSIO command-line swiss-army-knife (EOS, BOS, Telos, Worbli, etc.)
https://eosc.app
MIT License
134 stars 59 forks source link

REX support for no-EOS core symbol #136

Closed DenisCarriere closed 5 years ago

DenisCarriere commented 5 years ago

The eosc rex feature does not work for networks such as BOS that doesn't use EOS symbol.

$ eosc -u https://bos.eosn.io rex deposit <ACCOUNT> "1.0000 BOS" 
ERROR: invalid 4,EOS asset for "quantity": EOS has max 4 decimals
DenisCarriere commented 5 years ago

Woohoo 🎉

maoueh commented 5 years ago

Note that by being on the right chain, it will infer the core symbol automatically. So:

eosc -u https://bos.eosn.io rex deposit <ACCOUNT> 1

Will now work as expected, normally.

DenisCarriere commented 5 years ago

👍 yea, that's expected

Looking forward to check out this improvements