Skip to content
train-db

train-db

P2P decentralized KV DB for hostile conditions

Created on 21st September 2025

•

train-db

train-db

P2P decentralized KV DB for hostile conditions

The problem train-db solves

The train-db is a modular library intended to use to in all the applications which need database syncing. Inspired by BitChat, this is a go to solutions for the nodes and dapps which can utilise the fallback communication mode over Bluetooth Mesh when the internet/intranet is facing downtime issues.

Scenarios where this can be utilised:

  1. In the hackathons, participants don't get access to stable internet due to congestions. And the local testnet RPCs usually gets timed out due to excess requests in short time span. Both resulting in massive delays in deployments.
  2. In the scenarios like BlockTrain where the network is not consistent and the intranet is unstable as well, even a simple deployment becomes a huge task.
  3. In certain applications where IPFS can't be utilised.

Solution:
When the network (wifi/broadband) is unavailable, fall back mechanism uses te Bluetooth Mesh connectivity to peer the database with no downtime.

We also experimented an example node where we created a light RPC anvil node with train-db which synced with the local devnet setup by Devfolio over Intranet, solving the issue of RPC unavailability for everyone.

Cheer Project

Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.

Discussion

Builders also viewed

See more projects on Devfolio