-
Clone the repository from Github onto your local machine
$ git clone https://github.com/umershaikh123/octopus-chain.git
-
Use the Node version as per project settings to avoid any errors before project installation.
$ nvm use
-
Install dependencies in all packages using yarn.
$ yarn
-
Set env vars:
-
Copy the existing env.local.sample file present.
$ cp ./packages/octopus-bridge-ui/.env.local.sample ./packages/octopus-bridge-ui/.env
-
In
.envcreated, addNEXT_PUBLIC_INFURA_KEY=my-infura-key -
Set
NEXT_PUBLIC_WALLETCONNECT_PROJECT_IDto your WalletConnect project ID. You can create a new project on the WalletConnect dashboard. -
For custom urls, set optional vars:
NEXT_PUBLIC_ETHEREUM_RPC_URL=my-eth-nodeNEXT_PUBLIC_SEPOLIA_RPC_URL=my-sepolia-node(see .env.sample) If no custom URL is provided, Infura will be used by default.
-
-
Build the project and internal packages
$ yarn build
-
Finally, running the project
-
(back in root dir:)
$ yarn dev
-
Visit
http://localhost:3000/
-
hmzaygn/octopus-chain
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|