Standalone Vite + React app for the Hyperbridge bridge product.
Want your token in the bridge UI? Follow the partner guide — do not edit token lists elsewhere.
| Full guide | src/core/config/registry/hft/README.md |
| Registry files | mainnet.ts / testnet.ts in that folder |
| EVM HFT docs | HyperFungibleToken |
| Substrate HFT docs | Pallet Hyper Fungible Token |
| SDK | @hyperbridge/sdk ≥ 2.2.0 |
EVM HFT checklist (details in the guide above):
- Deploy HFT / WrappedHFT contracts and register peer chains on-chain.
- Add logo →
public/tokens/+src/shared/config/registry/token-images.json. - Append your token to
mainnet.tsortestnet.ts. - Confirm chains exist in
src/shared/config/registry/evm-networks.tswithfeatureSupported: ["bridge"]. - Open a PR and run
pnpm test src/shared/config/token-registry.
Substrate HFT checklist:
- Make sure the source chain has
pallet-hyper-fungible-tokenwired into its runtime and ISMP router. - Create or confirm the local asset ID in the chain's asset registry.
- Register the token in
pallet-hftwithregister_token, including the destination EVM HFT / WrappedHFT contract address and decimals. - On each EVM HFT / WrappedHFT contract, register the Substrate pallet as a trusted peer with
addChain. - Add the token to this app registry, make sure the Substrate source exists in
src/shared/config/registry/substrate-networks.ts, and make sure each EVM destination hasfeatureSupported: ["bridge"]insrc/shared/config/registry/evm-networks.ts.
pnpm install
cp .env.example .env.local
# Fill in VITE_* values in .env.localpnpm dev # local dev server
pnpm build # production build → dist/
pnpm preview # preview production build
pnpm type-check # TypeScript check
pnpm test # unit testssrc/
components/ # Bridge UI (forms, navigation)
pages/ # Bridge routes
stores/ # Bridge transfer state
core/ # Shared app logic (inlined from former app-core package)
shared/ # Network/token config (inlined from former shared package)
web3-connect/ # Wallet connection (inlined from former web3-connect package)
Partner token definitions live under src/core/config/registry/hft/. See Adding a bridged token (partners) at the top of this file.