Skip to content

openguild-labs/polkavm-devsuite

Repository files navigation

PolkaVM DevTool - Bridge

A modern web application for bridging tokens between Polkadot parachains and PolkaVM Asset Hub. Built with Next.js, React, and Polkadot API.

Getting Started

Prerequisites

  • Node.js 22+
  • pnpm (recommended) or npm
  • Polkadot wallet extension (Polkadot.js, Talisman, or SubWallet)

Installation

  1. Clone the repository:
git clone <repository-url>
cd token-bridge
  1. Install dependencies:
pnpm install
  1. Set up environment variables:
cp .env.example .env.local
  1. Install papi descriptor
npx papi generate
  1. Start the development server:
pnpm dev
  1. Open http://localhost:3000 in your browser.

Building for Production

The build process automatically generates Polkadot API descriptors and builds the application:

pnpm build

Environment Variables

Create a .env.local file with the following variables:

# WalletConnect Project ID (get from https://cloud.walletconnect.com/)
NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID=your_project_id

# Optional: Ignore localStorage in development
NEXT_PUBLIC_IGNORE_STORAGE=false

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •