GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - LitecoinResearchKit/lrk: Litecoin Research Kit's monorepo: open-source on-chain analytics for Litecoin, including MWEB

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

3,135 Commits
3,135 Commits

Folders and files

NameName
Last commit message
Last commit date
.cargo
.cargo
 
 
.cursor/skills/merge-upstream
.cursor/skills/merge-upstream
 
 
.github
.github
 
 
benches
benches
 
 
crates
crates
 
 
docker
docker
 
 
docs
docs
 
 
examples/custom_plugin
examples/custom_plugin
 
 
modules
modules
 
 
packages/bitview_client
packages/bitview_client
 
 
scripts
scripts
 
 
showcases
showcases
 
 
.dockerignore
.dockerignore
 
 
.gitignore
.gitignore
 
 
Cargo.lock
Cargo.lock
 
 
Cargo.toml
Cargo.toml
 
 
LICENSE
LICENSE
 
 
TODO.md
TODO.md
 
 
hawk.toml
hawk.toml
 
 
rust-toolchain.toml
rust-toolchain.toml
 
 

Repository files navigation

Litview

Litview and the Litecoin Research Kit

Litview turns a Litecoin Core node into a local Litecoin data platform for chain exploration, mempool data and on-chain research, MWEB included. The free hosted instance is litview.space.

  • Litecoin Research Kit (LRK): Rust crates for reading Litecoin Core data: RPC, block files in chain order with their MWEB extension blocks, the live mempool, Litecoin's types and typed storage.
  • Litview: the self-hostable application built from them: an indexer and analytics plugins, a query layer, a REST API, an MCP endpoint, the apps and Studio, and generated clients.

It is a Litecoin fork of Bitview and the Bitcoin Research Kit, kept in step with upstream.

What Litecoin changes

  • MWEB: the extension block is decoded with each block. Its supply, peg-ins, peg-outs, kernels and fees are series of their own (mweb_*), and MWEB coins stay out of the transparent supply, cohorts and address balances.
  • HogEx: the last transaction of every block since MWEB's activation (height 2,265,984). Its fee counts in block fees; it stays out of transaction counts, volume and fee-rate statistics.
  • Price: exchange daily closes before height 2,200,000 (January 2022), the on-chain oracle after.
  • The chain itself: genesis on 7 October 2011, 2.5-minute blocks, 840,000-block halvings, litoshis and Ł.

Use Litview

The hosted apps, API and MCP endpoint need no account:

  • Litview, its apps and Studio
  • Interactive API and OpenAPI
  • MCP endpoint: https://mcp.litview.space/
  • Developer guide and the crates
curl https://litview.space/api/series/count
curl 'https://litview.space/api/series/search?q=mweb'
curl 'https://litview.space/api/series/mweb_supply/day1?start=-7'

Self-host

git clone https://github.com/LitecoinResearchKit/lrk && cd lrk
RUSTFLAGS="-C target-cpu=native" cargo install --locked --path crates/bitviewd --features litecoin --profile release-ltc
bitviewd

You need Linux or macOS, a mainnet Litecoin Core node with RPC enabled and complete block files from genesis, 16 GB of memory or more, and about 95 GiB of disk on top of Litecoin Core's. A first index from block 0 takes about an hour and a quarter on a 64 GB Mac with a fast SSD.

bitviewd reads Litecoin Core's default data directory and RPC port (9332) unless told otherwise, and serves the apps and API at localhost:3110, to this machine only unless serverbind says otherwise. See the bitviewd guide for configuration.

Develop

Everything Litecoin-specific sits behind the litecoin Cargo feature, so the Bitcoin build still compiles and upstream merges stay small. Names shown to people (Litview, LTC, litoshis, the blue) are rewritten from upstream's at build time by brk_relabel.

cargo check -p bitviewd --features litecoin
cargo check --workspace
cargo bindgen --features litecoin   # regenerates the clients as Litecoin

Upstream's own documentation is in docs: the architecture and the changelog.

Support

If Litview is useful to you, you can support its development at indigodevlab.com/fund: in Litecoin, public or private through MWEB, or with X Money.

Credits and license

Bitview and the Bitcoin Research Kit are by nym21. This fork is maintained by the Litecoin Research Kit. Issues are welcome.

MIT

About

Litecoin Research Kit's monorepo: open-source on-chain analytics for Litecoin, including MWEB

litview.space

Topics

blockchain-analyticscryptocurrencyindexerlitecoinlitecoin-apilitecoin-datalitecoin-rustmwebon-chainrust

Resources

Readme
MIT license
Activity
Custom properties

Stars

2 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.