Skip to content

delvtech/element-frontend

Repository files navigation

Element Frontend Offboarding UI

This is a fork of the archived elf-frontend repo for offboarding any funds currently held in the Element Protocol.

Visit Site: https://delvtech.github.io/element-frontend/

Build it yourself

Installation

Clone the repo then install the dependencies:

npm ci

note: Running npm ci instead of just npm i or npm install will ensure that the package-lock.json isn't modified if you're using a different version of npm. See the npm-ci docs for more info.

Environment variables

Add the NEXT_PUBLIC_MAINNET_RPC_URL to your .env to customize your RPC url.

Development

To start the app in development mode, build it and then run the dev server:

npm run build:mainnet-app
npm run start:dev-mainnet-app

Open http://localhost:3000 to view it in the browser.

Production

Building production NextJs can be done via:

npm run build:mainnet-app

GitHub Pages

Due to using NextJS 12, we must do a little post-processing to make the static build work on GitHub pages. This work is handled by a custom build and deploy script:

npm run deploy-ghpages

note: This will overwrite the build for local development. Make sure to re-run > npm run build:mannet-app after building and deploying to GH Pages.

About

Offboarding UI for Element Protocol

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •