npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@blinklabs/dingo

v0.21.0

Published

Dingo is a Cardano blockchain data node

Readme

Dingo

Dingo

⚠️ This is a work in progress and is currently under heavy development

A high-performance Cardano blockchain node implementation in Go by Blink Labs. Dingo provides:

  • Full chain synchronization and validation via Ouroboros consensus protocol
  • UTxO tracking with 41 UTXO validation rules and Plutus smart contract execution
  • Client connectivity for wallets and applications
  • Pluggable storage backends (Badger, SQLite, PostgreSQL, GCS, S3)
  • Peer governance with dynamic peer selection and topology support
  • Chain rollback support for handling forks with automatic state restoration

Note: On Windows systems, named pipes are used instead of Unix sockets for node-to-client communication.

Running

Dingo supports configuration via both a YAML config file (dingo.yaml) and uses environment variables to modify its own behavior.

A sample configuration file is provided at dingo.yaml.example.You can copy and edit this file to configure Dingo for your local or production environment: This behavior can be changed via the following environment variables:

  • CARDANO_BIND_ADDR
    • IP address to bind for listening (default: 0.0.0.0)
  • CARDANO_CONFIG
    • Full path to the Cardano node configuration (default: ./config/cardano/preview/config.json)
    • Use your own configuration files for different networks
    • Genesis configuration files are read from the same directory by default
  • CARDANO_DATABASE_PATH
    • A directory which contains the ledger database files (default: .dingo)
    • This is the location for persistent data storage for the ledger
  • CARDANO_INTERSECT_TIP
    • Ignore prior chain history and start from current position (default: false)
    • This is experimental and will likely break... use with caution
  • CARDANO_METRICS_PORT
    • TCP port to bind for listening for Prometheus metrics (default: 12798)
  • CARDANO_NETWORK
    • Named Cardano network (default: preview)
  • CARDANO_PRIVATE_BIND_ADDR
    • IP address to bind for listening for Ouroboros NtC (default: 127.0.0.1)
  • CARDANO_PRIVATE_PORT
    • TCP port to bind for listening for Ouroboros NtC (default: 3002)
  • CARDANO_RELAY_PORT
    • TCP port to bind for listening for Ouroboros NtN (default: 3001)
  • CARDANO_SOCKET_PATH
    • UNIX socket path for listening (default: dingo.socket)
    • This socket speaks Ouroboros NtC and is used by client software
  • CARDANO_TOPOLOGY
    • Full path to the Cardano node topology (default: "")
  • CARDANO_UTXORPC_PORT
    • TCP port to bind for listening for UTxO RPC (default: 9090)
  • TLS_CERT_FILE_PATH - SSL certificate to use, requires TLS_KEY_FILE_PATH (default: empty)
  • TLS_KEY_FILE_PATH - SSL certificate key to use (default: empty)

Database Plugins

Dingo supports pluggable storage backends for both blob storage (blocks, transactions) and metadata storage. This allows you to choose the best storage solution for your use case.

Available Plugins

Blob Storage Plugins:

  • badger - BadgerDB local key-value store (default)
  • gcs - Google Cloud Storage blob store
  • s3 - AWS S3 blob store

Metadata Storage Plugins:

  • sqlite - SQLite relational database (default)
  • postgres - PostgreSQL relational database

Plugin Selection

Plugins can be selected via command-line flags, environment variables, or configuration file:

# Command line
./dingo --blob gcs --metadata sqlite

# Environment variables
DINGO_DATABASE_BLOB_PLUGIN=gcs
DINGO_DATABASE_METADATA_PLUGIN=sqlite

# Configuration file (dingo.yaml)
database:
  blob:
    plugin: "gcs"
  metadata:
    plugin: "sqlite"

Plugin Configuration

Each plugin supports specific configuration options. See dingo.yaml.example for detailed configuration examples.

BadgerDB Options:

  • data-dir - Directory for database files
  • block-cache-size - Block cache size in bytes
  • index-cache-size - Index cache size in bytes
  • gc - Enable garbage collection

Google Cloud Storage Options:

  • bucket - GCS bucket name
  • project-id - Google Cloud project ID
  • prefix - Path prefix within bucket

AWS S3 Options:

  • bucket - S3 bucket name
  • region - AWS region
  • prefix - Path prefix within bucket
  • access-key-id - AWS access key ID (optional - uses default credential chain if not provided)
  • secret-access-key - AWS secret access key (optional - uses default credential chain if not provided)

SQLite Options:

  • data-dir - Path to SQLite database file

PostgreSQL Options:

  • host - PostgreSQL server hostname
  • port - PostgreSQL server port
  • username - Database user
  • password - Database password
  • database - Database name

Listing Available Plugins

You can see all available plugins and their descriptions:

./dingo list

Plugin Development

For information on developing custom storage plugins, see PLUGIN_DEVELOPMENT.md.

Example

Running on mainnet (:sweat_smile:):

CARDANO_NETWORK=mainnet CARDANO_CONFIG=path/to/cardano/configs/mainnet/config.json ./dingo

Note: you can find cardano configuration files at https://github.com/blinklabs-io/docker-cardano-configs/tree/main/config

Dingo will drop a dingo.socket file which can be used by other clients, such as cardano-cli or software like adder or kupo. This has only had limited testing, so success/failure reports are very welcome and encouraged!

Features

  • [x] Network
    • [x] UTxO RPC
    • [x] Ouroboros
      • [x] Node-to-node
        • [x] ChainSync
        • [x] BlockFetch
        • [x] TxSubmission2
      • [x] Node-to-client
        • [x] ChainSync
        • [x] LocalTxMonitor
        • [x] LocalTxSubmission
        • [x] LocalStateQuery
      • [x] Peer governor
        • [x] Topology config
        • [x] Peer churn (full PeerChurnEvent with gossip/public root churn, bootstrap events)
        • [x] Ledger peers
        • [x] Peer sharing
        • [x] Denied peers tracking
      • [x] Connection manager
        • [x] Inbound connections
          • [x] Node-to-client over TCP
          • [x] Node-to-client over UNIX socket
          • [x] Node-to-node over TCP
        • [x] Outbound connections
          • [x] Node-to-node over TCP
  • [ ] Ledger
    • [x] Blocks
      • [x] Block storage
      • [x] Chain selection (density comparison, VRF tie-breaker, ChainForkEvent)
    • [x] UTxO tracking
    • [x] Protocol parameters
    • [x] Genesis validation
    • [ ] Certificates
      • [x] Pool registration
      • [x] Stake registration/delegation
      • [x] Account registration checks
      • [ ] Governance
    • [ ] Transaction validation
      • [ ] Phase 1 validation
        • [x] UTxO rules
        • [ ] Witnesses
        • [ ] Block body
        • [ ] Certificates
        • [ ] Delegation/pools
        • [ ] Governance
      • [ ] Phase 2 validation
        • [ ] Smart contracts
  • [x] Mempool
    • [x] Accept transactions from local clients
    • [x] Distribute transactions to other nodes
    • [x] Validation of transaction on add
    • [x] Consumer tracking
    • [x] Transaction purging on chain update
  • [x] Database Recovery
    • [x] Chain rollback support (SQLite and PostgreSQL plugins)
    • [x] State restoration on rollback
    • [x] WAL mode for crash recovery
    • [x] Automatic rollback on transaction error
  • [x] Plutus Validation
    • [x] Plutus V3 smart contract validation
    • [ ] Plutus V1/V2 smart contract validation

Additional planned features can be found in our issue tracker and project boards.

Catalyst Fund 12 - Go Node (Dingo) Catalyst Fund 13 - Archive Node

Check the issue tracker for known issues. Due to rapid development, bugs happen especially as there is functionality which has not yet been developed.

Development / Building

This requires Go 1.23 or better is installed. You also need make.

# Build
make
# Run
./dingo

You can also run the code without building a binary, first

go run ./cmd/dingo/