Skip to content

A minimal bitcoin library for MicroPython and Python3 with a focus on embedded systems

License

Notifications You must be signed in to change notification settings

jimmysong/embit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

embit

A minimal bitcoin library for MicroPython and Python3 with a focus on embedded systems.

Should remain minimal to fit in a microcontroller. Also easy to audit.

Examples can be found in examples/ folder.

Micropython-specific tutorial here.

Requirements

MicroPython

Requires a custom MicroPython build with extended hashlib module and secp256k1 bindings.

To install copy the content of embit folder to the board. To save some space you can remove files embit/util/ctypes_secp256k1.py and embit/util/pyhashlib.py - they are used only in Python3.

Python 3

Can use libsecp256k1 with ctypes if it is installed in the system. Otherwise uses pure python implementation.

To install run pip3 install embit.

To install in development mode (editable) clone and run pip3 install -e . from the root folder.

About

A minimal bitcoin library for MicroPython and Python3 with a focus on embedded systems

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%