Skip to content

LedgerHQ/app-plugin-kiln

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Badges

Code style check Compilation & tests

app-plugin-kiln

Kiln Logo

This plug-in is compatible with Nano S / X devices, it enables to interact in a secure wait with the Kiln deposit smart contract to stake Ethereum.

Prerequisite

Clone the plugin to a new folder.

git clone https://github.com/LedgerHQ/app-plugin-kiln.git

Then in the same folder clone two more repositories, which is the plugin-tools and app-ethereum.

git clone https://github.com/LedgerHQ/plugin-tools.git                          #plugin-tools
git clone --recurse-submodules https://github.com/LedgerHQ/app-ethereum.git     #app-ethereum

Documentation

Need more information about the interface, the architecture, or general stuff about ethereum plugins? You can find more about them in the ethereum-app documentation.

Smart Contracts

Smart contracts covered by this plugin are:

Network Version Smart Contract
Goerli V0 0xe8Ff2a04837aac535199eEcB5ecE52b2735b3543

Build

Go to the plugin-tools folder and run the "./start" script.

cd plugin-tools  # go to plugin folder
./start.sh       # run the script start.sh

The script will build a docker image and attach a console. When the docker image is running go to the "app-plugin-kiln" folder and build the ".elf" files.

cd app-plugin-kiln/tests        # go to the tests folder in app-plugin-kiln
./build_local_test_elfs.sh      # run the script build_local_test_elfs.sh

Tests

To test the plugin go to the tests folder from the "app-plugin-kiln/tests" and run the script "test"

cd app-plugin-kiln/tests        # go to the tests folder in app-plugin-kiln
yarn                            # install dependencies
yarn test                       # run the script test

Continuous Integration

The flow processed in GitHub Actions is the following:

Flows

NANO S

Deposit

Withdraw

Withdraw EL

Withdraw CL

Batch Withdraw

Batch Withdraw EL

Batch WithdrawCL

Request Exits

Stake v2

RequestExit V2

MultiClaim V2

Claim V2

LR Deposit Into Strategy

LR Queue Withdrawal

LR Complete Queued Withdrawal

NANO X

Deposit

Withdraw

Withdraw EL

Withdraw CL

Batch Withdraw

Batch Withdraw EL

Batch WithdrawCL

Request Exits

Stake V2

RequestExit V2

MultiClaim V2

Claim V2

LR Deposit Into Strategy

LR Queue Withdrawal

LR Complete Queued Withdrawal

Packages

No packages published

Languages

  • C 57.1%
  • JavaScript 40.1%
  • Shell 1.8%
  • Makefile 1.0%