A web app template for building Hyperlane Warp Route UIs
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hyperlane-warp-ui-template/README.md

67 lines
1.3 KiB

# Hyperlane Warp Route UI Template
This repo contains an example web interface for a interchain tokens built with [Hyperlane Warp Route](https://docs.hyperlane.xyz/docs/apis-and-sdks/warp-api). Warp is a framework to permisionlessly bridge tokens to any chain.
## Architecture
This app is built with Next+React, Wagmi, RainbowKit, and the Hyperlane SDK.
- The index page is located at `./src/pages/index.tsx`
- The primary features are implemented in `./src/features/`
- Constants that you may want to change are in `./src/consts/`, see the following Customization section for details.
## Customization
See [CUSTOMIZE.md](./CUSTOMIZE.md) for details about adjusting the tokens and branding of this app.
## Development
### Setup
```sh
# Install dependencies
yarn
# Build Next project
yarn build
```
### Run
```sh
# Start the Next dev server
yarn dev
```
### Test
```sh
# Lint check code
yarn lint
# Check code types
yarn typecheck
```
### Format
```sh
# Format code using Prettier
yarn prettier
```
### Clean / Reset
```sh
# Delete build artifacts to start fresh
yarn clean
```
## Deployment
The easiest hosting solution for this Next.JS app is to create a project on Vercel.
## Learn more
For more information, see the [Hyperlane documentation](https://docs.hyperlane.xyz/docs/apis-and-sdks/warp-api).