Thank you for your interest in contributing to the Hop frontend!🐰
Before running anything, you'll need to install the dependencies:
pnpm --filter frontend... install
pnpm --filter frontend dev
Navigate to [http://localhost:3000].
pnpm --filter frontend... build
The following points should help guide your development:
- Security: the interface is safe to use
- Avoid adding unnecessary dependencies due to supply chain risk
- Reproducibility: anyone can build the interface
- Avoid adding steps to the development/build processes
- The build must be deterministic, i.e. a particular commit hash always produces the same build
- Decentralization: anyone can run the interface
- An Ethereum node should be the only critical dependency
- All other external dependencies should only enhance the UX (graceful degradation)
- Accessibility: anyone can use the interface
- The interface should be responsive, small and also run well on low performance devices (majority of swaps on mobile!)
At the moment we're only considering bug fixes and small improvements. If you have a feature request, please open an issue first to discuss it.
Releases are cut automatically from the production
branch according to the release workflow.
Fix pull requests should be merged whenever ready and tested.
Features should not be merged into develop
until they are ready for users.
When building larger features or collaborating with other developers, create a new branch from develop
to track its development.
When the feature is ready for review, create a new pull request from the feature branch into develop
and request reviews from
the appropriate UX reviewers (PMs or designers).
Start with issues with the label
good first issue
.