This repository implements Ledger App Plugin for Euler which allows Ledger devices to display user friendly transaction summary for the most common Euler interactions, instead of blind signing.
Euler is a non-custiodial permissionless lending protocol on Ethereum network.
For more information refer to the official Ledger documenation.
To run plugin tests, do the following:
- Go through the setup process
- Clone repositories into
plugin_dev
directory created in the previous step. Execute the following commands in the new terminal window pointing toplugin_dev
:
git clone https://github.com/euler-xyz/euler-ledger-app-plugin.git
cd euler-ledger-app-plugin
git clone https://github.com/LedgerHQ/ethereum-plugin-sdk
- Install tests dependencies using terminal from step 2.:
cd tests && yarn install
- Build the plugin and the Ethereum app. Go back to your docker setup from step 1. and execute the following in the container:
cd ../euler-ledger-app-plugin/tests
./build_local_test_elfs.sh
- Run tests. Use the terminal from step 2. and 3.
yarn test