Skip to content

Latest commit

 

History

History
69 lines (46 loc) · 2.14 KB

FIREFOX_README.md

File metadata and controls

69 lines (46 loc) · 2.14 KB

NOTICE FOR FIREFOX ADD-ON REVIEWERS

This is the monorepo which contains the source code for Namada Extension. Please follow the instructions exactly as they are described below.

Table of Contents

Build instructions

NOTE The add-on submission was built in the following environment:

  • Ubuntu Server 24.04 LTS x86_64 - Please ensure your environment matches this to produce an identical build!
  • Docker version 27.x

Follow these instructions to build with Docker:

  1. Verify that Docker 27+ is installed in your system before proceeding with the build:
docker --version
  1. From the source code root, build the Docker image:
docker build . --target firefox -t namada-keychain-firefox -f docker/extension/Dockerfile
  1. Wait for the build to complete, and then copy the files from the container by executing the following command in the source code root:
docker run --rm -v ./apps/extension/build:/shared namada-keychain-firefox cp -r /app/apps/extension/build/. /shared/
  1. The resulting extension is the ZIP file in apps/extension/build/firefox.

[ Table of Contents ]

Notes

Installing Docker

If Docker is not currently installed in your environment, please refer to the instructions of the official Docker documentation.

[ Table of Contents ]

Source code

The main extension source code is located in apps/extension/src. We also use several local packages; their sources are in:

  • packages/chains/src
  • packages/components/src
  • packages/hooks/src
  • packages/sdk/src
  • packages/storage/src
  • packages/types/src
  • packages/utils/src
  • packages/shared/lib (shared package Rust code compiled to WebAssembly)
  • packages/shared/src (shared package TypeScript glue code)
  • packages/crypto/lib (crypto package Rust code compiled to WebAssembly)
  • packages/crypto/src (crypto package TypeScript glue code)

[ Table of Contents ]