Skip to content
Snippets Groups Projects
matograine's avatar
[test] #213: move useful test patched functions
matograine authored
* Move patched functions from test_membership.py to relevant files
    * blockchain_tools.py
        * create mocked_block variable
        * make both patched_block and patched_head_block return mocked_block
    * auth.py
    * wot.py
* modify a pubkey list in patched/wot.py
* change calls in the tests
* change pubkeys in patched/money.py to match new pubkey_list
5031b5e9
History

Silkaj

Version License Python versions

  • CLI Duniter client written with Python 3.
  • Website

Install

pip3 install silkaj --user

Usage

  • Get help usage with -h or --help options, then run:
silkaj <sub-command>
  • Will automatically request and post data on duniter.org 443 main Ğ1 node.

  • Specify a custom node with -p option:

silkaj -p <address>:<port> <sub-command>

Features

Currency information

  • Currency information
  • Display the current Proof of Work difficulty level to generate the next block
  • Check the current network
  • Explore the blockchain block by block

Money management

  • Send transaction
  • Consult the wallet balance

Web-of-Trust management

  • Check sent and received certifications and consult the membership status of any given identity in the Web of Trust
  • Check the present currency information stand
  • Send certification

Authentication

  • Three authentication methods: Scrypt, file, and (E)WIF

Wrappers

Dependencies

Silkaj is based on Python dependencies:

  • Click: Command Line Interface Creation Kit.
  • DuniterPy: Python APIs library to implement duniter clients softwares.
  • Tabulate: to display charts.

Names

I wanted to call that program:

  • bamiyan
  • margouillat
  • lsociety
  • cashmere

I finally called it Silkaj as Silk in esperanto.

Website

Packaging status

Packaging status