Skip to content

A human-readable Eclipse blockchain explorer powered by Bricks.

License

Notifications You must be signed in to change notification settings

meta-light/eclipse-xray

 
 

Repository files navigation

🧱Eclipse XRAY

🔗 Forked from: https://github.com/helius-labs/xray Eclipse XRAY is a modified fork of the Helius Labs Solana Explorer adapted to work with Eclipse Mainnet.

Eclipse XRAY leverages only the Eclipse public RPC endpoints, Pyth for price feeds, All Domains for username discovery, and Dune to gather statistics from the Eclipse Mainnet Bridge.

Contributions are welcome and encouraged! Learn more at CONTRIBUTIONS.md

Tech Stack

Node, TurboRepo, TypeScript, Prisma, tRPC, SvelteKit, TanstackQuery, SvelteKit tRPC SvelteQuery Adapter, Tailwind, DaisyUI Components, TailwindCSS, DaisyUI

Setup Environment

In the root of the project, create a .env file with the following contents:

DUNE_KEY=<YOUR_DUNE_KEY>
FLIPSIDE_API_KEY=<YOUR_FLIPSIDE_API_KEY>

This is only required for Mainnet Bridge stats.

Install

  1. Run the install command from the root of the project to install dependencies for all apps and packages:
npm install
  1. Start all packages and apps in dev mode which watches for changes and adds your local environment.
npm run dev
  1. Build all apps and packages for production.
npm run build

Important Files & Folders

📁 ./src/lib Common components, utilities, and libraries used throughout the app. Import things from this directory using the $lib/ alias.
📁 ./src/lib/components Shared components used throughout the app.
📁 ./src/lib/trpc The tRPC server which has all of our backend endpoints.
📁 ./src/lib/types Global types
📁./src/routes Any +page or +server file in this directory becomes a page or an endpoint based on the folder structure.

About

A human-readable Eclipse blockchain explorer powered by Bricks.

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • TypeScript 52.5%
  • Svelte 45.0%
  • Other 2.5%