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

Adding the interaction with tokens #53

Open mathboulianne opened 6 years ago

mathboulianne commented 6 years ago

Enabling to get the balance of tokens (e.g. IQ, Karma, Boid, etc) as well as transfer them to another account

joshkauffman commented 6 years ago

I thought I left a response to this earlier, but I'm not seeing it now. So apologies if this is duplicated somewhere else.

This functionality exists through eosc get balance [account] --contract [string] but the eosc get balance [account] --symbol [string] does not appear to be working. Have tried with multiple symbols, and only EOS worked for me.

abourget commented 5 years ago

Is this still an issue?

joshkauffman commented 5 years ago

Transferring alts works, but @mathboulianne also mentioned in his issue the ability to get balance of alts. would be interesting if we could eosc get balance [account_name] and it would print all non-0 balances. I foresee this being handy for a dev who wants to make their own testnet, make some currencies and then play around with them without having to --contract [name] each balance

So a eosc get balance [account_name] all

But I definitely do NOT see this as a priority at all. If it's an easy thing, then sure. But definitely not a game changer worth spending too much time on.

abourget commented 5 years ago

Something like eosc get popular-balances ? And we query a bunch of contracts ?

joshkauffman commented 5 years ago

Yeah. But again, i don't think it's a priority to have that. A nice-to-have though.