You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

boltlib

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

boltlib

Bitcoin Lightning BoltCard (NTAG 424 DNA) Read/Write library


Maintainers
1

Readme

boltlib - Bitcoin Lightning BoltCard library

Tests Version Downloads

boltlib is a Python library and command line tool for easy reading and writing of BoltCards based on pyscard

Requirements

  • Python 3.8 or higher.
  • Smart Card Reader (USB CCID class-compliant)

Tested with Identiv uTrust 3700F but should work with others like for example ACS ACR1252U or HID Omnikey 5022 CL.

Note: On Ubuntu/Debian run sudo apt-get install libpcsclite-dev swig before installation.

Installation

$ pip install boltlib

Command line usage

$ boltcard
Usage: boltcard [OPTIONS] COMMAND [ARGS]...

Options:
  --version     Show the version and exit.
  -s, --silent  Silence debug output.
  --help        Show this message and exit.

Commands:
  read   Read BoltCard UID and URI
  write  Write URI to BoltCard (unprovisioned only)

Library usage

import boltlib
uri = boltlib.read_uri()
print(uri)

Development

Requirements

Setup

git clone https://github.com/titusz/boltlib.git
cd boltlib
poetry install

Run Tasks

Before committing changes run code formatting and tests with:

poe all

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc