Skip to content
Snippets Groups Projects
Select Git revision
  • 429_rm_features
  • main default protected
  • release/0.12 protected
  • pages protected
  • release/0.11 protected
  • 175_gva_migration
  • i18n
  • v0.12.0 protected
  • v0.11.2 protected
  • v0.11.1 protected
  • v0.11.0 protected
  • v0.11.0rc0 protected
  • v0.10.0 protected
  • v0.10.0rc1 protected
  • v0.10.0rc0 protected
  • v0.3.0 protected
  • v0.8.1 protected
  • v0.9.0 protected
  • v0.9.0rc protected
  • v0.8.0 protected
  • v0.7.6 protected
  • v0.7.5 protected
  • v0.7.4 protected
  • v0.7.3 protected
  • v0.7.2 protected
  • v0.7.1 protected
  • v0.7.0 protected
27 results

silkaj

  • Clone with SSH
  • Clone with HTTPS
  • Moul's avatar
    [ref] #409: Improve endpoint determination code layer
    Moul authored
    Implement determine_endpoint() to replace Endpoint()
    It handles custom, default g1 and gtest endpoints
    Read custom endpoints from a regex
    Handle host/ipv4 mixup fix with ipaddress
    ipv6 support with brakets
    
    Rename peer to endpoint:
    option --peer/-p −> --endpoint/-ep
    
    import sys and silkaj.constants directly
    
    write tests
    
    Kept the ability of not having click installed
    - #354 The tests are difficult to write
    Actually, I am not sure if this feature is easy use.
    Using Silkaj as lib is kind of difficult since click is
    imported in almost every modules
    8f48f827
    History

    Silkaj

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

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

    silkaj -p <address>:<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

    Money management

    • Transaction emission
      • Multi-recipients transaction support
    • 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

    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