Skip to content

Green-Candle-L2/OrbiterFE-V2

 
 

Repository files navigation

orbiter

Project

  • The latest version of Orbiter is used vuejs to build
  • Orbiter was created to give users a better cross-rollup transaction experience, greatly reducing the economic and time costs of interaction between L1 and L2, such as L1<->L2,L2<->L2.
  • As a proof-of-concept project, Orbiter currently supports ERC20 token transactions on mainnet, zkSync, Arbitrum.

Functional

  • Running this project requires setting the necessary parameters, which support each rollup node.

  • By configuring the parameters, the project can realize the economic and time savings that users can make by Orbiter when configuring the rollup dynamics. After the user initiates payment through the front-end wallet, it will monitor the transaction data of each rollup in real time and feed back the real-time status of the user's cross-rollup transfer in time.

Design

config - Third-party and global configurations of the CSS

core - Related network processing and interface implementation of the on-rollup.

icons - SVG Image Processing & SVG Image resources

store - vuex data.

util - Implementation of common methods for each module of the project.

views - Implement project page.

components - Implement project components.

Project setup

npm install

Compiles and hot-reloads for development

npm run dev

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

Query Params

Name Type Required Desc
referer String False values:
zksync
source String False From chain, values:
Mainnet
Arbitrum
ZkSync
Polygon

Testnet values:
Rinkeby
Arbitrum(R)
ZkSync(R)
Polygon(R)

When it's empty, use sources first item.
dest String False To chain, values: (Same as source)
sources String False From chains, example: Mainnet,Arbitrum,ZkSync. When it's empty, show all chain.
dests String False To chains, example: ZkSync,Polygon. When it's empty, show all chain (filter source/from chain).
token String False Transfer currency, values:
ETH
USDC. When it's empty, use tokens first item.
tokens String False Transfer currencys, example: ETH,USDC. When it's empty, show all currencys.
amount Float False Transfer out amount. (Notice: when currency's decimal = 18, minimum reserve 6 decimal places, when currency's decimal = 6, minimum reserve 2 decimal places )
fixed Integer False 0: Can transfer from«»to chain (default)
1: Cann't transfer from«»to chain

Example(Rinkeby): https://rinkeby.orbiter.finance/?referer=zksync&source=Polygon%28R%29&sources=Polygon%28R%29,zksync%28R%29&dests=Arbitrum%28R%29&dest=Polygon%28R%29&token=&amount=0.03&fixed=0&tokens=

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 69.3%
  • JavaScript 28.8%
  • SCSS 1.2%
  • CSS 0.3%
  • HTML 0.2%
  • TypeScript 0.2%