Giter Club home page Giter Club logo

cross-chain-bridge's Introduction

transferto.xyz powered by LI.FI

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
yarn start

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 VITE_ to be available within react.

Use .env for default config variables 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 @lifi/sdk

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

Deployment

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

Branch main:

Branch staging:

cross-chain-bridge's People

Contributors

maxklenk avatar addminus avatar mathiasmoeller avatar rhlsthrm avatar chybisov avatar laynehaber avatar sanchaymittal avatar jakekidd avatar philippzentner avatar nickolasmv avatar zord4n avatar arjunbhuptani avatar dennyscode avatar omahs avatar 0xakshay avatar julien51 avatar dnnnvx avatar michaelpautov avatar serafimcloud avatar

Stargazers

baturaλp avatar eLHa_ avatar Tomcyrus avatar

Watchers

Femi Andrew Akin 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.