Skip to content
Snippets Groups Projects
Moul's avatar
[lint] #292: Apply pylint advices
Moul authored
e8d622eb
History

Silkaj

Version License Python versions Code format Imports: isort Coverage report Website Dev pipeline status types - Mypy

Powerfull, lightweight, and multi-platform command line client written with Python for Ğ1 and Ğ1-Test currencies

Install

Distribution

Install with your favorite package manager. See below the packaging status paragraph.

Pip

If you want a more recent version install with Pip:

pip3 install silkaj --user

Docker images

There is two kind of images. One build with pip for user purposes, and one using Poetry for developer purposes.

For contributing purposes

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 -ep option:

silkaj -ep <hostname>:<port> <sub-command>

Features

Currency information & blockchain exploration

  • Check the present currency information stand
  • Display current proof of work difficulty level to generate the next block
  • Explore the blockchain block by block
  • Verify blockchain blocks hashes

Money management

  • Transaction emission
    • Multi-recipients transaction support
    • Read transaction recipients and amounts from a file
  • Consult wallets balances
  • Consult wallet history

Web-of-Trust management

  • Look up for public keys and identities
  • Check sent and received certifications and consult the membership status of any given identity in the Web of Trust
  • Certification emission
  • Membership emission
  • Revocation file handling

Authentication

  • Authentication methods: Scrypt, file, and (E)WIF

Others

  • Display Ğ1 monetary license
  • Public key checksum

Wrappers

Dependencies

Silkaj is based on following Python modules:

  • Click: Composable command line interface toolkit
  • DuniterPy: Most complete client oriented Python library for Duniter/Ğ1 ecosystem
  • Pendulum: Datetimes made easy
  • texttable: Creation of simple ASCII tables
  • tabulate: Pretty-print tabular data

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