Skip to content
forked from Zondax/zemu

Ledger Nano Emulation/testing framework

License

Notifications You must be signed in to change notification settings

lightsail-network/zemu

 
 

Repository files navigation

Zemu

zondax_light

zondax_dark

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

About

Ledger Nano Emulation/testing framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 99.7%
  • JavaScript 0.3%