OCamlPro / freeton_wallet

The 'ft' tool is a multi-account terminal wallet for the Free TON blockchain. It is based on the freeton_ocaml_sdk.
https://ocamlpro.github.io/freeton_wallet
Other
14 stars 9 forks source link

Suggestion: Inform user that "not yet created" also means that the balance is zero #42

Closed tomsib2001 closed 3 years ago

tomsib2001 commented 3 years ago

(at line https://github.com/OCamlPro/freeton_wallet/blob/39f7955cb9a5f0eff510dfc4409b04bab2694b51/src/freeton_wallet_lib/commandAccount.ml#L100 ) I'm thinking of the following situation. I create an account as in

ft account --create toto --surf

and then I query the account:

ft account toto
Config loaded from /home/thomas/.ft/config.json
Network: nil
Loading wallet file /home/thomas/.ft/nil/wallet.json
Account "toto": not yet created

But it isn't immediately apparent that once my account receives money, even if I haven't deployed the actual contract yet, this will be mentioned.

lefessan commented 3 years ago

It now writes

Account "user6": not yet created (empty balance)