# ÆRC Bridge

The æternity Bridge enables seamless asset transfer between æternity and EVM-compatible blockchains through contracts provided by Acurast. This documentation covers the setup, deployment, and usage of the Bridge interface.

Quick Links Production: <https://ae-bridge.com/&#x20>;

Staging: <https://bridge.stg.aepps.com/>

Installation and Setup

Prerequisites • Node.js • npm • yarn

Local Development Setup

1. Install dependencies:

```bash
yarn
```

2. Start development server:

```bash
yarn start
```

Production Build

1. Build the application:

```bash
yarn build
```

2. Install serve package (if not already installed):

```bash
# Using yarn
yarn global add serve

# Using npm
npm -g install serve
```

3. Serve the build:

```bash
serve -s build
```

Self-Hosting Guide

Cloud Deployment You can deploy your own instance of the Bridge interface using various cloud services:

1. Fork the repository from GitHub
2. Create an account on your preferred cloud platform: • Vercel • Netlify • AWS • Others
3. Connect your GitHub account to the cloud platform
4. Create a new application
5. Configure using standard Node.js deployment settings
6. Deploy your instance

Technical Specifications • Primary Language: TypeScript (95.1%) • Secondary Language: JavaScript (3.4%) • License: ISC

### Understanding Bridge Mechanics

#### Token Bridging Process

```mermaid
graph LR
    A[Source Chain] -->|Lock Tokens| B[Bridge Contract]
    B -->|Notify| C[Bridge Service]
    C -->|Release| D[Target Chain]
```

The bridge operates through a lock-and-mint mechanism:

1. Tokens are locked in the source chain's bridge contract
2. Bridge service verifies the lock transaction
3. Equivalent tokens are released on the target chain

#### Native Currency Bridging

When bridging native currencies:

* ETH → æternity: Receives wETH (AEX-9 token)
* AE → Ethereum: Receives wAE (ERC-20 token)

### Security and Verification

The bridge maintains a 1:1 ratio between locked and released assets. You can verify this through:

* Smart contract inspection on both chains
* Public contract addresses
* Real-time bridge statistics

<table data-view="cards"><thead><tr><th></th><th></th><th></th></tr></thead><tbody><tr><td></td><td>Bridge Documentation</td><td></td></tr><tr><td></td><td>Bridge User Guide</td><td></td></tr><tr><td></td><td>Use ærc Bridge</td><td></td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.aeternity.com/aeternity-developer-tools/aerc-bridge.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
