This is the monorepo which contains the source code for Namada Extension. Please follow the instructions exactly as they are described below.
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:
- Verify that Docker 27+ is installed in your system before proceeding with the build:
docker --version
- From the source code root, build the Docker image:
docker build . --target firefox -t namada-keychain-firefox -f docker/extension/Dockerfile
- 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/
- The resulting extension is the ZIP file in
apps/extension/build/firefox
.
If Docker is not currently installed in your environment, please refer to the instructions of the official Docker documentation.
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)