Skip to content

zeropoolnetwork/zeropool-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zero Pool Wallet

version: 0.23.11

Supported networks

Developement

First of all, in the project directory create static/assets/ folder and put there respective static files from this repo

Then in the project directory select the network you want to work with:

Near

> mklink .env .env.near - using Windows command prompt as admin
> ln -s .env.near .env - using Bash terminal

Sepolia

> mklink .env .env.sepolia - using Windows command prompt as admin
> ln -s .env.sepolia .env - using Bash terminal

After that you can run the following commands:

> 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 test:debug

Launches the test runner in the interactive watch mode.

> yarn test:debug [part_of_the_file_name]

Launches the test runner in the interactive watch mode for the specified file(-s).

> yarn test

Build the test coverage report.

> yarn coverage

Runs local server to show test coverage report.

Known issues

yarn start builds the app with outdated dependencies

rm -rf node_modules/.cache/ and then yarn start again If it doesn't help, try to remove node_modules folder and run yarn install again.

Deployment

  1. yarn publish[:dev/:test/:release] - publishes docker container with built application to the registry