Coder Social home page Coder Social logo

jarweb / lifi-web Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lifinance/jumper.exchange

1.0 0.0 0.0 8.46 MB

Li.Finance cross chain frontend (swap, transfer, dashboard, ....)

Home Page: https://li.finance

Shell 0.86% HTML 3.00% CSS 12.23% TypeScript 83.72% JavaScript 0.18%

lifi-web's Introduction

Li.Finance

What we are aiming at (blue parts are already implemented):

Screenshot

Setup

Use nvm to run the app with the latest node version you have installed run: nvm use. Version 16 works great, install it using nvm install 16.

EditorConfig defines basic formatting, use a plugin for your IDE.

# install dependencies
yarn install

# server local development version
# > li.finance
yarn start
# > xpollinate.io
yarn start:xpollinate
# > testnet.xpollinate.io
yarn start:xpollinate:testnet

If you are on windows or if you have problems running the start commands, please try to run yarn windows and create a local .env.local file to define your environment (e.g. if you want to use xpollinate, copy one of the xpollinate files)

The setup includes antd for styled components.

The setup is based on create-react-app.

Environment Variables

All variable names have to start with REACT_APP_ to be available within react.

Use .env for default config variabels used on all environments. Use .env.development and .env.production for environment specific configuration. Create a local .env.local file if you want to test additional settings locally (e.g. run a semi production version).

The .env files are loaded automatically, but changing variables will require you to restart yarn start.

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

yarn test unit

Executes the unit tests. Unit tests should only test one component and mock others.

yarn test int

Executes the integration tests. These tests do access more of the stack, e.g. they query external API. Since we can't ensure that the external resources are available all the time, these tests may sometimes fail.

Guide for @lifinance/sdk

Follow the linked Readme if you need changes in @lifinance/sdk package.

Deployment

Pushing code to the repository automatically triggers deployments to several environments:

Branch main:

Branch develop:

Branchs testing/*:

Main Contributors

contracts

lifi-web's People

Contributors

addminus avatar arjunbhuptani avatar jakekidd avatar julien51 avatar laynehaber avatar mathiasmoeller avatar maxklenk avatar michaelpautov avatar philippzentner avatar rhlsthrm avatar sanchaymittal avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.