Skip to content
 
 

Repository files navigation

stellar-inspector

A web-based tool for inspecting and decoding Stellar blockchain transactions. Paste a transaction hash or XDR string and get a human-readable breakdown — no digging through raw JSON required.

Built by Horizoneer.

stellar-inspector screenshot


What it does

  • Decodes transaction hashes into plain English — status, fee, memo, source account
  • Shows operation-level details (payments, contract calls, trust lines, and more)
  • Syntax-highlighted raw JSON for when you need to go deeper
  • Copy to clipboard on every field — hashes, accounts, XDR strings
  • Supports both Mainnet and Testnet (switchable via toggle)
  • Account detail page with balances, trustlines, and recent transactions
  • Full XDR decoder mode
  • Shareable transaction URLs via deep linking
  • Dark/light mode toggle with system preference detection

Getting started

You'll need Node.js 18+ installed.

git clone https://github.com/horizoneer/stellar-inspector.git
cd stellar-inspector
npm install
npm run dev

Then open http://localhost:5173 in your browser.

To build for production:

npm run build

Stack

  • React 18 + Vite
  • react-syntax-highlighter (Prism) for raw JSON view
  • Stellar Horizon REST API
  • stellar-sdk for XDR parsing
  • CSS Modules for styling
  • lucide-react for icons
  • react-router-dom for routing

Project structure

src/
  components/     # Reusable UI components
  context/        # React context providers (NetworkContext, ThemeContext)
  hooks/          # Custom React hooks (useClipboard, useTransactionHistory)
  pages/          # Page components (InspectorPage, AccountPage, NotFoundPage)
  utils/          # Utilities (stellar.js — all Horizon API calls and XDR parsing)

Roadmap

These are things we want to build next. If any of these interest you, open an issue and let's talk.

  • Add more operation type support
  • Improve test coverage
  • Add more export formats
  • Add a demo deployment

Contributing

We're actively looking for contributors. Whether it's fixing a bug, adding an operation type, or improving the UI — all of it helps.

See CONTRIBUTING.md to get started.


License

MIT — do whatever you want with it.

About

A developer tool for inspecting and decoding Stellar blockchain transactions into plain English. Built by Horizoneer — open to contributors.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages