@zondax/zemu
TypeScript icon, indicating that this package has built-in type declarations

0.48.0 • Public • Published

Zemu

zondax

License npm version GithubActions

We appreciate any contributions to this effort!

We recommend using the npmjs package in order to receive updates/fixes.

This project is under active development - API and usage guidelines are very likely to change

Overview

Integration and end-to-end testing of Ledger Apps is a manual and time consuming process. We believe that the Ledger apps ecosystem is lacking an adequate approach with respect to testing. The Zemu Framework is our solution for this problem. Under the hood, Zemu uses Ledger's project speculos. It's currently being used in every Ledger App built by Zondax, among many others (such as Ethereum one built by Ledger team).

Zemu is an emulation and testing framework for Ledger Nano S/S+/X devices.

Features

  • Minimal configuration + Docker based
  • Speculos/Qemu based emulation
  • Easy JS API
    • Mocha / Jest compatible
    • Parallelized testing
    • Abstracted device control (buttons, reset, etc.)
    • Navigate thru screens and take screenshots of them
  • Debugging (support for CLion and vscode, even mixed C/Rust)

Docs

Check our documentation and quickstart at https://docs.zondax.ch

Who we are?

We are Zondax, a company pioneering blockchain services. If you want to know more about us, please visit us at zondax.ch

Dependencies (11)

Dev Dependencies (23)

Package Sidebar

Install

npm i @zondax/zemu

Weekly Downloads

1,165

Version

0.48.0

License

Apache-2.0

Unpacked Size

81.5 kB

Total Files

22

Last publish

Collaborators

  • ftheirs
  • jleni