🔗 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
Node, TurboRepo, TypeScript, Prisma, tRPC, SvelteKit, TanstackQuery, SvelteKit tRPC SvelteQuery Adapter, Tailwind, DaisyUI Components, TailwindCSS, DaisyUI
In the root of the project, create a .env
file with the following contents:
DUNE_KEY=<dune_api_key>
This is only required for Mainnet Bridge stats.
- Run the install command from the root of the project to install dependencies for all apps and packages:
npm install
- Start all packages and apps in dev mode which watches for changes and adds your local environment.
npm run dev
- Build all apps and packages for production.
npm run build
📁 ./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. |