This is the Vanadium Risc-V VM app. For now, it's just boilerplate.
You can download precompiled binaries, or compile them yourself as described below.
You can download the latest version of the binaries from GitHub by launching the download_vanadium.sh script in the vm folder:
$ cd vm
$ bash download_vanadium.shYou can quickly setup a development environment on any platform (macOS, Linux or Windows) to build and test your application with Ledger's VS Code extension.
By using Ledger's own developer tools Docker image, the extension allows you to build your apps with the latest SDK, test them on Speculos and load them on any supported device.
- Install and run Docker.
- Make sure you have an X11 server running :
- Install VScode and add Ledger's extension.
- Open a terminal and clone
vanadiumwithgit clone git@github.com:LedgerHQ/vanadium.git. - Open the
vmfolder in thevanadiumrepository with VSCode. - Use Ledger extension's sidebar menu or open the tasks menu with
ctrl + shift + b(command + shift + bon a Mac) to build the app, or load it on a device.
We recommend not to run the Vanadium app from the VSCode extension. Instead, install the Speculos emulator locally.
After downloading the binaries or building, you can run the app directly on the Speculos emulator. For example, if you build the app for Flex:
speculos target/flex/release/app-vanadiumIf you use just, you can also run:
just run-flex # or run-nanosplus, run-nanox, run-stax, run-apex_p