The Nahmii bridge is an UX/UI to bridge tokens between Nahmii L2 networks and supported base layer networks. Do note that having an Ethereum provider, like MetaMask (extension or mobile app), available in your browser is required to run this dApp.
Once you've cloned this repository and installed dependencies with npm install
(or pnpm install
or yarn
), start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
This app uses the adapter-static sveltekit adapter. For more details on sveltekit adapters see: adapters. To build this project as a static web app:
npm run build
You can preview the statically built app with
npm run preview
.
The app is hosted through AWS. New commits to the main branch are automatically built as a docker image. The Docker tag corresponds to the Git hash. The latest version is automatically deployed to staging. (See the workflow file for more details)
The latest version is automatically deployed to staging. In order to update the deployed version in production:
- Retrieve the commit hash of the bridge build you want to use.
- Update the
newTag
of thekustomization.yaml
to the commit hash you want to use in the Nahmii/GitOps repository. - Create a new pull request with your changes. The updated tag should be picked up automatically.
To contribute, clone this repository and create a new feature branch. Once the new feature is implemented, create a new pull request with a description of the added changes.
Feel free to open a feature request or report a bug through the issues page!