Skip to content

frequency-chain/smoldot-demo

Repository files navigation

SMOLDOT Demo

This demo project demonstrates smoldot

Prerequisites

  • Node.js (version 16 or higher)
  • npm or yarn

Installation

Install the project dependencies:

npm install

Available Scripts

Run the Proof of Concept

npm run poc

This runs the main smoldot proof-of-concept that:

  • Connects to the Polkadot network using the Westend chain specification
  • Establishes a chainHead_v1_follow subscription to monitor blockchain events
  • Automatically restarts the subscription if it gets stopped by the server
  • Displays real-time blockchain events including:
    • New blocks
    • Best block changes
    • Finalized blocks
    • Retracted blocks

References json-rpc-interface-spec json-rpc-docs

About

No description, website, or topics provided.

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published