Another Crypto Wallet for Stellar based assets such as ETH, BTC or EURT?

Anthony BARKER
Lumenauts
Published in
3 min readJul 18, 2018

There are a ton of wallets available according to Stellar.org website. However, none of them did exactly what I needed. So in the past I have used the ipython shell to create address, make trustlines, and send payments. I spent a Saturday and put together a tiny wallet.

stcli— a repl command line crypto wallet for stellar that is simple and all in one file

Why a new wallet?

  1. Super easy to read the code — You are trusting wallet providers with your funds and I wanted someone to be able to review the code in about 3 minutes to ensure nothing funny is going on under the covers. Currently it is less than 600 lines of code including comments and it all is in 1 file so you can move it around easily and securely.
  2. Command line under Linux — I love the command line and specifically python’s REPL (Read–Eval–Print Loop )..
  3. Python based wallet — all the other open source ones are in Javascript or go
  4. Used for testing of Stellar remittance functions — No other wallets I could find fully allowed testing of federation, compliance, deposit, and withdrawal.
  5. Shows 100% what it is doing behind the scenes — made for testing (or live)
  6. Support all the basic functions that other wallets do from this list by Tim
    https://docs.google.com/spreadsheets/d/14hs18NkgKerF47YPI0NQDX0gN2ZAN98Z0LValHGYrZ8/edit#gid=987160927

Or this other one from Umbrel
https://docs.google.com/spreadsheets/d/1DhjXMqKadHGjAV_hpMWS-ylIhv3l-zVNFjqmpeu2gGA/edit#gid=

Here are the 10 commands to get you started

  • key — allows you to set the private key for this session. Or you can store it AES zipped if you want.
  • send
    send amount asset public_key memo
    eg. send 1 XLM antb123*papayame.com or
    send 685.60 EURT in*tempo.eu.com TEA439339205324
  • b (balances)
  • r (receive)
  • trust
    trust tempo.eu.com eurt, trust mobius.network mobi, trust apay.io btc
  • deposit/withdrawal — and will support the upcoming changes to deposit and withdrawl.

But here are some additional cool features

  • VIM ! or Emacs key binding!
  • Shows output of calls and all URLs while it is working
  • Encrypts configuration file using AES zip (optional)
  • Keeps all settings in same directory. You can have multiple directories with different configs.
  • Integration into testnet funding!
  • Reverse and forward incremental search (hit CTRL + R or up arrow)
  • Runs on all Python versions from 2.6 up to 3.5.
  • Works well with Unicode double width characters. (Chinese input.)
  • use ! to do shell commands directly from the repl
  • Auto suggestions. (Like fish shell.)

To install follow the below readme:

https://github.com/antb123/stcli

Are you a python dev ? Please contribute! There are a ton of things to add.

If any lumens are received from the build challenge they will all be shared equally and fairly.

--

--