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.
 
 
 
Lee 02c46a2dff
Merge pull request #212 from hyperlane-xyz/ezeth-2
2 months ago
.github Run CI on PRs to ezeth branch (#183) 4 months ago
.vscode Migration to warp core (#134) 8 months ago
.yarn Upgrade Wagmi and RainbowKit (#89) 11 months ago
public Renzo branding 4 months ago
src Run prettier 2 months ago
.env.example Solana and ERC721 support (#29) 1 year ago
.eslintignore Setup Error Monitoring and Analytics (#114) 10 months ago
.eslintrc Migration to warp core (#134) 8 months ago
.gitignore Move config management to build-time (#120) 9 months ago
.prettierignore Initial commit - Next + Hyperlane + TS + Wagmi 2 years ago
.prettierrc Initial commit - Next + Hyperlane + TS + Wagmi 2 years ago
.yarnrc.yml Upgrade Wagmi and RainbowKit (#89) 11 months ago
CUSTOMIZE.md Warp UI Registry Support (#161) 5 months ago
LICENSE.md Initial commit - Next + Hyperlane + TS + Wagmi 2 years ago
README.md Warp UI Registry Support (#161) 5 months ago
jest.config.js Add support for JSON and YAML chain and token configs (#88) 11 months ago
next-env.d.ts Initial commit - Next + Hyperlane + TS + Wagmi 2 years ago
next.config.js Allow hyperlane domain based images 3 months ago
package.json Up registry version 2 months ago
postcss.config.js Initial commit - Next + Hyperlane + TS + Wagmi 2 years ago
sentry.client.config.js Setup Error Monitoring and Analytics (#114) 10 months ago
sentry.default.config.js Reduce sentry sampling rate 6 months ago
sentry.edge.config.js Setup Error Monitoring and Analytics (#114) 10 months ago
sentry.server.config.js Setup Error Monitoring and Analytics (#114) 10 months ago
tailwind.config.js Renzo branding 4 months ago
tsconfig.json Move config management to build-time (#120) 9 months ago
yarn.lock Up registry version 2 months ago

README.md

Hyperlane Warp Route UI Template

This repo contains an example web interface for interchain tokens built with Hyperlane Warp Route. 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.

  • Constants that you may want to change are in ./src/consts/, see the following Customization section for details.
  • The index page is located at ./src/pages/index.tsx
  • The primary features are implemented in ./src/features/

Customization

See CUSTOMIZE.md for details about adjusting the tokens and branding of this app.

Development

Setup

# Install dependencies
yarn

# Build Next project
yarn build

Run

# Start the Next dev server
yarn dev

Test

# Lint check code
yarn lint

# Check code types
yarn typecheck

Format

# Format code using Prettier
yarn prettier

Clean / Reset

# 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.