Coder Social home page Coder Social logo

tansanit's Introduction

Tansanit

Command line wallet for the Bismuth cryptocurrency (BIS)

Supported Operating Systems

  • macOS
  • Linux
  • Windows (no command autocomplete and some other issues)

Prerequisites

The wallet will only work with Python 3. To be able to use the wallet, the required Python modules mentioned in requirements.txt have to be installed. Install them with:

pip3 install -r requirements.txt

Starting

Start Tansanit on the command line

Linux / macOS

./tansanit.py

Linux / macOS / Windows

python3 tansanit.py

Arguments

Use ./tansanit.py -h to show all available arguments

➜  Tansanit git:(master) ✗ ./tansanit.py -h
usage: tansanit.py [-h] [-w WALLET] [-s SERVER] [-l {10,20,30,40,50}]
                   [--no-clear]

Tansanit - command line wallet for Bismuth (BIS)

optional arguments:
  -h, --help           show this help message and exit
  -w WALLET            set wallet file location
  -s SERVER            connect to server (host:port)
  -l {10,20,30,40,50}  debug, info, warning, error, critical
  --no-clear           don't clear after each command

Connect to a specific server

Use the -s <ip>:<port> argument to connect to a specific server

./tansanit.py -s 46.101.186.35:8150

Enable logging to logfile

Use the -l <log level> argument to save log messages to the log folder

./tansanit.py -l 20

Available log levels are
10 ➜ Debug
20 ➜ Info
30 ➜ Warning
40 ➜ Error
50 ➜ Critical

Usage

After you started Tansanit, list all available commands by entering help

Documented commands (type help <topic>):
========================================
addresses  encrypt  msg_decrypt  receive  servers       version
balance    help     msg_encrypt  refresh  shell         wallet
connect    import   new          select   status
decrypt    label    quit         send     transactions

Or for help regarding a specific command, use help <command>

> help balance
 Show wallet balance 

Commands

Commands can be auto-completed with TAB. Scroll thru last used commands with the arrow keys

balance ➜ Show current wallet balance

> balance

12.257 BIS

send ➜ Send BIS to an address

> send 542c92ff1bf22ef1fe9b030b4b8e2c71e15ad1c3c563dce234766b10 20

? Send 20 BIS?  (Use arrow keys)
  > Yes
    No

wallet ➜ Show address and other wallet info

> wallet

{'address': '542c92ff1bf22ef1fe9b030b4b8e2c71e15ad1c3c563dce234766b10', 'file': 'wallet.der', 'encrypted': False}

status ➜ Show info about the connected server

> status

{'wallet': 'wallet.der', 'address': '542c92ff1bf22ef1fe9b030b4b8e2c71e15ad1c3c563dce234766b10', 'server': '62.112.10.156:8150', 'servers_list': ['62.112.10.156:8150', '188.165.209.184:8150', '51.15.226.30:8150', '46.101.186.35:8150'], 'full_servers_list': [{'ip': '62.112.10.156', 'port': 8150, 'load': '4', 'height': 1230526}, {'ip': '188.165.209.184', 'port': 8150, 'load': '8', 'height': 1230526}, {'ip': '51.15.226.30', 'port': 8150, 'load': '16', 'height': 1230526}, {'ip': '46.101.186.35', 'port': 8150, 'load': '37', 'height': 1230525}], 'connected': True}

transactions ➜ Show last 10 transactions

> transactions

[]

server ➜ Show all available servers

> servers

['62.112.10.156:8150', '188.165.209.184:8150', '51.15.226.30:8150', '46.101.186.35:8150']

refresh ➜ Refresh list of available servers

> refresh

['62.112.10.156:8150', '51.15.226.30:8150', '46.101.186.35:8150', '188.165.209.184:8150']

version ➜ Show version number of Tansanit

> version

Tansanit Version 0.2

quit ➜ Exit Tansanit

> quit

? Do you really want to quit?  (Use arrow keys)
  > Yes
    No

tansanit's People

Contributors

endogen avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.