Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

Latest commit

 

History

History
executable file
·
42 lines (26 loc) · 1.95 KB

README.md

File metadata and controls

executable file
·
42 lines (26 loc) · 1.95 KB

Nahmii Bridge

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.

Developing

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

Building

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.

Deploying

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 the kustomization.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.

Contributing

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.

Issues

Feel free to open a feature request or report a bug through the issues page!