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

Allow specifying a switch with an enviroment variable #68

Closed NoamDev closed 2 years ago

NoamDev commented 2 years ago

Sometimes you might wanna have multiple terminal windows, each working on a different network. It'd be nice to have some FT_SWITCH variable that if set would override the switch selection.

lefessan commented 2 years ago

Have you tried it ? It does not work ?

https://github.com/OCamlPro/freeton_wallet/blob/9c2cd2f42cc599dc388278c4491e95a2308729ce/src/freeton_wallet_lib/config.ml#L23

NoamDev commented 2 years ago

Haha, I should've just tried. It works, thanks!