Skip to content

An XCM-based asset exchange hub that automatically supports assets from all Polkadot parachains.

Notifications You must be signed in to change notification settings

ringecosystem/paralink

Repository files navigation

ParaLink

ParaLink is an asset exchange hub based on XCM within Polkadot parachains. Unlike other exchange tools, it automatically supports parachains and assets that meet the Support Requirements. Once these requirements are met, your parachain and its asset pairs are supported by ParaLink with no manual intervention, significantly simplifying integration and enhancing asset exchange efficiency for the Polkadot community.

Support Requirements

ParaLink will automatically support chains that meet the following criteria:

  1. The parachain is connected to another parachain via HRMP, and the channel is active.
  2. The parachain supports XCM, and the XcmPaymentRuntimeApi is available. For more details, refer to this guide.

Assets within your parachains will be automatically supported if they meet the following requirement:

  1. The asset is listed in the asset-transfer-api-registry, which we use to obtain asset registry details.
  2. The asset should be included in the target chain’s xcmPaymentAcceptTokens list.

As long as your parachain and assets meet these requirements, they will be automatically supported by ParaLink. Enjoy the seamless integration!

Tech Stack

  • Next.js 15 (App Router)
  • TypeScript
  • Tailwind CSS
  • Shadcn UI
  • Viem v2
  • Wagmi v2

Prerequisites

  • Node.js 18+
  • pnpm 8+

Installation

  1. Clone the repository
git clone https://github.com/ringecosystem/paralink.git
cd paralink
  1. Install dependencies
pnpm install

Development

UI Commands

Start the development server for the UI:

pnpm run dev:ui

Builder Commands

Here are some common Builder command line examples:

  1. Run the Builder:
pnpm run dev:builder

Production

  1. Build for production:
pnpm run build:ui
  1. Start production server:
pnpm run start:ui

Additional Builder Commands

  1. Build the project:
pnpm run build:builder