Apache License 2.0

项目介绍

chatch/stellarexplorer 是一个托管在 GitHub 上的开源项目,主要使用 TypeScript 编写,采用 Apache License 2.0 许可证,目前获得 511 个 Star、194 次 Fork。

仓库全名
chatch/stellarexplorer
开源许可证
Apache License 2.0
Star 数
511
Fork 数
194
未关闭 Issue
59

README 摘要

Stellar Explorer A ledger explorer for Stellar. Deployments: Public: Test: Futurenet: Local: Resources Lists Resource | URI | Operations | /operations | Transactions | /txs | Ledgers | /ledgers | Payments | /payments | Trades | /trades | Effects | /effects | Liquidity Pools | /effects | Claimable Balances | /effects | Directory Resource | URI | Assets | /assets | Anchors | /anchors | Exchanges | /exchanges |…

完整内容见 GitHub 原始 README 或本页 。

常见问题

stellarexplorer 用什么语言开发?

主要使用 TypeScript 编写,采用 Apache License 2.0 许可证,目前有 511 个 Star。

stellarexplorer 可以免费商用吗?

仓库采用 Apache License 2.0 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 stellarexplorer 的源码?

可以直接克隆仓库:git clone https://github.com/chatch/stellarexplorer.git,默认分支为 master;安装与运行步骤见仓库 README。

stellarexplorer 最近还在维护吗?

仓库最近一次更新为 3 天前,当前有 59 个未关闭 Issue;Star 数为 511,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Ledger Explorer for the Stellar Network 🚀

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
969
价值分
368
活跃状态
活跃

语言占比

C
CSS
Dockerfile
HTML
JavaScript
Shell
TypeScript
WebAssembly

Release

README

Stellar Explorer

Node.js CI Run e2e tests against production OpenSSF Scorecard

A ledger explorer for Stellar.

Deployments:

Resources

Lists

Resource URI
Operations /operations
Transactions /txs
Ledgers /ledgers
Payments /payments
Trades /trades
Effects /effects
Liquidity Pools /effects
Claimable Balances /effects

Directory

Resource URI
Assets /assets
Anchors /anchors
Exchanges /exchanges

Accounts

Resource URI
by Federated address /account/stellar*fed.network
by Public address /account/GAREELUB43IRHWEASCFBLKHURCGMHE5IF6XSE7EXDLACYHGRHM43RFOX
by Multiplexed address /account/MDZ464OWNGEL4X2DE6JPLEARO2WJ4AGCBN3XM7E4ZSLPHRBV6AZB6AAAAAAAAAAAAGW4M
Tabs
Resource URI
Balances Tab /account/stellar*fed.network#balances
Payments Tab /account/stellar*fed.network#payments
Offers Tab /account/stellar*fed.network#offers
Trades Tab /account/stellar*fed.network#trades
Effects Tab /account/stellar*fed.network#effects
Operations Tab /account/stellar*fed.network#operations
Transactions Tab /account/stellar*fed.network#transactions
Signing Tab /account/stellar*fed.network#signing
Flags Tab /account/stellar*fed.network#flags
Data Tab /account/stellar*fed.network#data
Resource URI
Federated address /search/steexp*fed.network
Public address /search/GAREELUB43IRHWEASCFBLKHURCGMHE5IF6XSE7EXDLACYHGRHM43RFOX
Multiplexed address /search/MDZ464OWNGEL4X2DE6JPLEARO2WJ4AGCBN3XM7E4ZSLPHRBV6AZB6AAAAAAAAAAAAGW4M
Ledger /search/10000000
Transaction /search/26a568681712a44a515b2c90dcfaadb3ed2c40dc60254638407937bee4767071
Asset Code /search/NGN
Anchor Name /search/ripplefox
Anchor Name (Partial) /search/fox

Misc

Resource URI
Transaction /tx/26a568681712a44a515b2c90dcfaadb3ed2c40dc60254638407937bee4767071
Ledger /ledger/10000000
Anchor /anchor/apay.io
Asset /asset/NGN

Exploring Private / Local Development Networks

steexp will connect to a local horizon instance at http://localhost:8000 by default. If your running a local private network for development this is quite handy for browsing your changes to the ledger.

Alternatively you can run locally connecting to the testnet or public network horizon instances. To do this define these aliases to localhost:

127.0.1.1  testnet.local     # for steexp use testnet horizon
127.0.1.1  publicnet.local   # for steexp use mainnet horizon
127.0.1.1  futurenet.local   # for steexp use future horizon

Use 127.0.0.1 instead of 127.0.1.1 when the above doesn’t work.

Navigate to http://testnet.local:3000, http://futurenet.local:3000 or http://publicnet.local:3000 to select the network your interesting in exploring.

Development

See the section Exploring Private / Local Development Networks for connecting to different backend networks. By default steexp will look for a local instance of horizon.

Start

pnpm i && pnpm dev

Test

pnpm i && pnpm test

or

You can run test with Jest Preview with the following command. You can see the result at http://locahost:3336 for test using React Testing Library along with Jest Preview.

pnpm test:preview

or

You can run test and Jest Preview separately as follows (this is basically same as the previous one).

pnpm jest-preview

pnpm test
or
pnpm test:watch

E2E Test

pnpm test:e2e

Run the test in UI mode:

pnpm test:e2e:ui

Show HTML test reports:

pnpm test:e2e:report

Build

pnpm i && pnpm build

Languages

Use the language selector in the top right corner to change the language.

Translation files are here: https://github.com/chatch/stellarexplorer/tree/master/src/languages

Submit pull requests with new languages or languages fixes there.

Scripts

Fetch and restructure centralized exchanges data

pnpm exec ts-node scripts/restructure-centralized-exchanges-json.ts

评论

暂无评论