RoadmapsProjects
Sign in./start

Learn

RoadmapsProjects

Contribute

DiscoverIssues

Account

Sign in./start-building

Become an Open Source Builder. Learn. Build. Contribute.

Learn

RoadmapsProjectsStart Building

Contribute

DiscoverIssues

Account

Sign inDashboardSettings

Legal

PrivacyTerms

© 2026 Pull // all rights reserved

PrivacyTerms

lesson // lightning

Custom Router

Implement a pathfinding service with custom fee and reliability heuristics.

advanced2 weeksproject // custom-router

Public lesson — sign in to track progress on this roadmap.

./sign-in

On this page

Learning objectives

  • Ingest a channel graph snapshot
  • Score edges with custom weights
  • Benchmark success vs baseline routing

study // plan

Lessons are primers. Depth comes from required reading, interactive labs, reflection, and a hands-on check with evidence — the BOSS study pattern.

Research on Bitcoin Search

Required reading

  • bookMastering the Lightning Network

    Ch. 12: Pathfinding

Reflection prompts

  1. Explain Custom Router to a teammate without jargon — what problem does it solve?
  2. What would break in production if you misunderstood Custom Router?
  3. Which BOLT (or implementation doc) is the source of truth for this topic, and what did you verify there?

Lab // Project milestone evidence

For Custom Router, complete the linked project spec happy path on regtest/Polar and capture demo evidence before marking the lesson complete.

evidence required

  • ·Link to public repo or branch
  • ·Commands or screenshots proving the happy path
  • ·Short note of one failure case you tested

A custom router lets you experiment with weights: fee, uptime, historical fail rates, and liquidity hints.

Build challenge

Service that:

  1. Loads graph data
  2. Returns routes for (source, destination, amount)
  3. Logs hypothetical success metrics against a dataset

Loading diagram…

Score edges, search paths, measure outcomes.

Next steps

Find contribution opportunities across LND, CLN, and LDK.

further reading

  • toolAmboss API / graph data
  • boltBOLT7 Gossip

build // challenge

project // custom-router

Apply what you learned in a focused build session. Ship something small, test it on regtest, and document your approach before moving on.

progress // sign in

Reading is public. Sign in to mark lessons complete, sync across devices, and unlock your roadmap.

./sign-in-to-track
prevNode Ops DashboardnextContribution Discovery

On this page

Press Shift + ? for keyboard shortcuts.

Press R to research on Bitcoin Search.