Skip to content

broxus/sparx-wallet-browser-extension

Repository files navigation

SparX Wallet Browser Extension - Build Instructions

Prerequisites

Operating System and Build Environment Requirements

  • OS: Windows, macOS
  • Shell: Bash, Zsh

Required Software

  • Node.js: ^20.15.0 (https://nodejs.org/)
  • npm: ^10.7.0 (comes with Node.js)
  • Webpack: ^5.85.1 (installed via npm)

Installation Instructions

  1. Install Node.js and npm following the official guide: https://nodejs.org/
  2. Verify the installation:
node -v
npm -v

Cloning the Repository

git clone https://github.com/broxus/ever-wallet-browser-extension.git
cd ever-wallet-browser-extension

Installing Dependencies

npm install

Build Instructions

Development Build

For Chromium-based browsers (e.g., Chrome, Edge):

npm run start

For Firefox:

npm run start:firefox

Production Build

For Chromium-based browsers:

npm run build:prod

For Firefox:

npm run build:firefox

Release Build

For Chromium-based browsers:

npm run release:prod

For Firefox:

npm run release:firefox

Additional Commands

  • Compress build artifacts:
npm run compress
  • Generate icons:
npm run generate-icons
  • Lint source code:
npm run lint
  • Install husky hooks:
npm run prepare

Output

  • Built extension files will be placed in the dist/ directory.
  • Release artifacts will be stored in the release/ directory.

Notes

  • Ensure all source files are human-readable and not minified or machine-generated.
  • Third-party libraries are open source and managed via npm.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 11

Languages