Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 910 Bytes

README.md

File metadata and controls

33 lines (21 loc) · 910 Bytes

This is a test V-App to test functionalities of the app-sdk in a real V-App.

  • app contains the Risc-V app, based on the V-app Sdk.
  • client folder contains the client of the app, based on the V-app Client Sdk.
  • common a crate with code shared by both the app and the client.

The client/tests folder contains integration tests to run with Speculos.

Build the V-App

Risc-V

In order to build the app for the Risc-V target, enter the app folder and run:

cargo build --release --target=riscv32i-unknown-none-elf

Native

In order to build the app for the native target, enter the app folder and run:

cargo build --release --target=x86_64-unknown-linux-gnu

Tests with speculos

In order to run the integration tests, enter the client folder and run:

cargo test --features speculos-tests