☞   The renaming of “Ledger Live” to “Ledger Wallet” is still in progress in the repos.
     This page may contain references to “Ledger Live” that will be updated soon.

Wallet API Simulator

The Simulator is a tool provided by Ledger that allows developers to test their application without interacting with the real Ledger Wallet application.

It provides a mock environment with a set of predefined responses for different Wallet API actions. This enables you to develop and test your application safely.

Target audience

This documentation and the Wallet API library are dedicated to developers building Live Apps that are intended to be embedded within a wallet implementing the Wallet API Server like Ledger Wallet.

Overview

The Ledger Wallet API Simulator library empowers you to:

  • Easily develop your Live App in the browser: Establish a fake connection to the Simulator acting as a wallet implementing the Ledger Wallet API Server, like Ledger Wallet would do.

  • Test in more ways: The simulator facilitate writing E2E, integration or unit tests, by allowing mocking any data used.

  • Simulate errors that are hard to reproduce: Just like you can write tests for the good path, you should also test your error handling code.

This documentation is structured to provide you with a clear understanding of the various features and utilities available in the Ledger Wallet API Simulator library.

  • Usage: Start with the Usage section. It guides you through installation and configuration, and how to add the simulator to your Live App.

  • Profiles: Learn about the various Profiles we export for use with the simulator, as well as utilities to customize the profiles.

We’re thrilled to have you on board and excited to see the innovative Live Apps you build.

Ledger
Copyright © Ledger SAS. All rights reserved. Ledger, Ledger Stax, Ledger Nano S, Ledger Vault, Bolos are trademarks owned by Ledger SAS