Skip to content

skubarenko/tezos-etherlink-bridge-ts-sdk-demo

Repository files navigation

Tezos to Etherlink FA Bridge Demo

This is a Next.js demo application for the Tezos to Etherlink FA Bridge SDK. This demo demonstrates how the SDK can be utilized in a UI application.

Requirements

Installation

  1. Clone the repository:
    git clone [email protected]:skubarenko/tezos-etherlink-bridge-ts-sdk-demo.git
    cd tezos-etherlink-bridge-ts-sdk-demo
  2. Install dependencies:
    npm install

Development

Generate Certificates

To run the app in HTTPS mode (required by wallets for secure connections), you need to generate a self-signed certificate:

  1. Install OpenSSL

  2. Create a certificates directory:

    mkdir certificates
  3. Generate the certificate: Run the following command in the root of the repository:

    openssl req -x509 -nodes -days 365 -newkey rsa:2048 \
        -keyout certificates/localhost.key \
        -out certificates/localhost.crt \
        -subj "/CN=localhost"

Start the Development Server

  1. Run the development server:

    npm run dev
  2. Open your browser and navigate to:

    https://localhost:3000/
    

Note: Since the certificate is self-signed, your browser may display a warning about the connection not being secure. You can safely proceed for local development.

Releases

No releases published

Packages

No packages published

Languages