Lido v3 stVaults (WIP)

Installing Dependencies

Remove the incorrect yarn package

sudo apt remove -y nodejs

Install the correct yarn package.

nvm install 22
nvm use 22
nvm alias default 22
node --version

Enable Corepack under Node 22 and activate yarn.

corepack enable
corepack prepare yarn@stable --activate
hash -r
which yarn
yarn --version

Expected: which yarn should point to a Corepack-managed path and yarn --version should return a normal Yarn version (e.g., 1.22.x or 3.x/4.x), not error.

Reload your shell startup file.

source ~/.bashrc

Install other dependencies for running stVaults.

Configure Environment Variables

Create a .env file under the lido-staking-vault-cli folder.

Use this template and fill in your actual environment variables.

Run the DeFi Wrapper Webapp

Clone the DeFi Wrapper Github repository and enter it's directory.

Verify that you are using Node 22

If not Node is not at least version 22 or higher,

Install dependencies

Create .env from .env.example and fill it up

Run a preview of your webapp

Last updated