Skip to content
프로젝트

소개

Open Source XRP Ledger Explorer

비즈니스 및 금융

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
-2
in 15 days
-3
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Release Build License

XRPL Explorer

This repo contains the source code for the block explorer of the XRP Ledger hosted at livenet.xrpl.org.

This project uses Vite. You can find information about how to use it here.

Basic requirements

Install Node and NPM

The project requires node@22. Follow installation instructions on nodejs.org.

(Recommended) Install using nvm.

Make sure to use npm version 8+ by running npm install -g npm@latest after you install Node.

Copy example env

cp .env.example .env

Install, compile, and run

  • npm install then
  • npm start for development mode, or
  • npm run build then npm run prod-server for production mode

Installing on Apple Silicon

Since canvas does not provide pre-built binaries for Apple chips during npm install it will try to compile it manually. To get this to succeed you need to install several dependencies by following the instructions here.

Running on Parallel Networks

Testnet mode

  1. Replace VITE_RIPPLED_HOST=s2.ripple.com with VITE_RIPPLED_HOST=s.altnet.rippletest.net in the .env file
  2. Add VITE_ENVIRONMENT=testnet to .env to enable TESTNET banner

Devnet mode

  1. Replace VITE_RIPPLED_HOST=s2.ripple.com with VITE_RIPPLED_HOST=s.devnet.rippletest.net in the .env file
  2. Add VITE_ENVIRONMENT=devnet to .env to enable TESTNET banner

Testing

Run unit tests

  • Run tests in watch mode npm test
  • Run test to produce coverage npm run test:coverage
  • To open coverage HTML report in app root do open coverage/index.html

Debugging Unit Tests in Chrome

  1. Place debugger; in your unit test
  2. Do npm run test:debug
  3. Open about:inspect in Chrome
  4. Click on inspect link
  5. Chrome Developer Tools will be open, click play button
  6. Now test will start running and will stop on your debugger;
  7. You know the rest ;)

Targeted view sizes

  1. phone-only: 0px - 375px
  2. tablet-portrait-up: 375px - 600px
  3. tablet-landscape-up: 600px - 900px
  4. desktop-up: 900px - 1200px
  5. big-desktop-up: 1200px and up

Targeted languages

  1. US English (default)
  2. Spanish
  3. French
  4. Japanese
  5. Korean

When updating translation entires or adding new languages consult the guide Translating.

Additional Documentation

React Documentation

관련 프로젝트 살펴보기

불러오는 중…