Nexus Orbit Chain is a chain run on arbitrum nitro node and the repo is a fork of arbitrum bridge which showcases Nexus Staking yeilds for Rollups(currently on nexus chain) with support of holesky as parent chain
Official arbitrum bridge Repo
- Install Node.js for your platform
- Install Node Version Manager (nvm) to setup the correct Node version for the project.
- use node version 18
- Install Yarn (version 1) - Package manager
-
Clone the Arbitrum token bridge repository from Github onto your local machine
$ git clone https://github.com/Nexus-2023/arbitrum-token-bridge.git
-
Use the Node version as per project settings to avoid any errors before project installation.
$ nvm use <NODE_VERSION_18>
-
Install dependencies in all packages using yarn in root of project.
$ yarn
-
Set env vars:
-
Copy the existing env.local.sample file present.
$ cp ./packages/arb-token-bridge-ui/.env.local.sample ./packages/arb-token-bridge-ui/.env
-
In
.env
created, addNEXT_PUBLIC_INFURA_KEY=my-infura-key
get it from Infura -
Set
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID
to your WalletConnect project ID. You can create a new project on the WalletConnect dashboard. -
set
NEXT_PUBLIC_NEXUS_GRAPH_API
which is nexus contracts subgraph url to fetch dashboard data -
For custom urls, set optional vars:
NEXT_PUBLIC_ETHEREUM_RPC_URL=my-eth-node
NEXT_PUBLIC_SEPOLIA_RPC_URL=my-sepolia-node
(see .env.local.sample) If no custom URL is provided,NEXT_PUBLIC_INFURA_KEY
will be used by default.
-
-
Build the project and internal packages
$ yarn build
-
Finally, running the project
-
(back in root dir:)
$ yarn run dev
-
Visit
http://localhost:3000/
-