Skip to content

ronyderra/bridge-explorer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Logo

Bridge Explorer

A backend server for the Multichain NFT Bridge Explorer
Explore the docs »

View Explorer (Staging Version) · View Bridge (Main Version)

Table of Contents
  1. About The Project
  2. Getting Started

About The Project

Multichain NFT Bridge Explorer gives the end client an indication of what is happening with his transaction.
By saving all the transactions data on our mongoDB we are able to serve and display the following information:

  • Departure chain name
  • Destenation chain name
  • Departure hash
  • Destenation hash
  • Tx-fees
  • Tx-value
  • Age
  • Method
  • Status
  • Sender address
  • Target address
  • Nft uri
  • Collection name
  • Collection contract address
  • Token-id

and more....

THIS IS THE SERVER SIDE

On this repo you will find a controller that routs by urls working with a buisness-logic file that connects directly to the DB, you will find A big file named "listenrs" wich is devided to EVM's and non EVM's. Each file holds a document that is manages his relevant socket.

there are 2 main socket listeners on each file : One that is listening to a Freez entry point and another that is listening to a Withdraw, these entry point are defined on the contract itself.

(back to top)

Built With

(back to top)

Getting Started

Make sure to go by the following instructions:

Prerequisites

This is an example of how to list things you need to use the software and how to install them.

  • nodeJs
  • yarn
  • recommended compass
  • .env File

Installation

  1. make sure you have all prerequisites
  2. Clone the repo
    git clone https://github.com/XP-NETWORK/bridge-explorer.git
  3. Install Yarn packages
    yarn install
  4. Insert the .env file to the root dir.
  5. on index.ts line 30 change listen to false , and make sure you understand why.
  6. run tsc && nodemon src/index.ts.

(back to top)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%