Nicheloom visits: 58,094 all-time · 7,637 in the last 7 days

The opportunity tracker for new startups.

Today: 1,953 launches · Niche of the day: specialized calculation tools · See what launched today →

Bithoven

A high-level, imperative language for Bitcoin Smart Contract

Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.

Want to reach these readers? Sponsor an issue.

Hey HN! I’m a researcher working on Bitcoin smart contracts, and today I’m releasing Bithoven—a high-level imperative language that compiles to native Bitcoin Script (Legacy, SegWit, and Taproot).The Goal:Raw Bitcoin Script is notoriously difficult to reason about. Writing raw Bitcoin Script today feels like writing Assembly in the 1970s. You have to mentally juggle the stack (`OP_SWAP`, `OP_ROT`), manually manage distinct execution branches, and pray you didn't leave a stack item unconsumed (which crashes the script). My goal was to bridge the gap between complex contract logic and raw opcodes, allowing developers to write readable, compile-time-safe code.Key Features:- Imperative Syntax: Write logic using familiar if/else and return statements instead of mental stack juggling.- Type Safety: First-class support for bool, signature, string, and number types to prevent runtime errors.- Targeted Compilation: Support for Legacy, SegWit, and Taproot compilation targets.- Native Primitives: Built-in keywords for timelocks (older, after) and cryptography (sha256, checksig).You can try it in the browser here (runs via WASM): https://bithoven-lang.github.io/bithoven/ide/Here is an example of a Hashed Time-Locked Contract (HTLC): (condition: bool, sig_alice: signature) (condition: bool, preimage: string, sig_bob: signature) { if condition { // Relative locktime (Sequence) older 1000; return checksig (sig_alice, alice_pk); } else { // Hashlock verification verify sha256 sha256 preimage == hash; return checksig (sig_bob, bob_pk); } } The project is free open source and the academic paper is currently under review. I’d love to hear any feedback. Thanks for checking it out!

HN · launched Dec 15, 2025 · 27 upvotes (top 29%) · 0 views

Niche: programming languages and interpreters · 161 launches, 2 in the last 7 days ▼ -75% · Explore this niche →

Category and tags

  • Fintech
  • Dev tools
  • Developer
  • Not AI
  • Hobby / open-source project

Visit website ↗ Source listing ↗

Could you build this?

No Designing and implementing a domain-specific compiler targeting Bitcoin Script (Legacy, SegWit, Taproot) requires deep knowledge of formal language theory, compiler design, and Bitcoin's non-Turing-complete cryptographic opcodes.

What it would actually take: Building Bithoven requires compiler engineers with deep domain expertise in Bitcoin Script execution semantics, stack limits, and opcode idiosyncrasies (e.g., MAST, Tapscript, Schnorr signatures). The stack typically involves Rust or OCaml implementing a formal AST, semantic analyzer, and optimizing code generator that translates imperative control flow into minimal-cost, stack-balanced Bitcoin Script operations while mathematically verifying correctness against unintended spends.

Discussion

8 comments analyzed.

Competitors mentioned: Miniscript, Scrypt, Sapio, Ivy, min.sc

Concerns raised: Limited expressiveness compared to advanced languages (no mul/div/loops), Bitcoin Script itself is primitive and hard to understand, Previous work like Miniscript not expressive enough for many opcodes, Unclear practical applications beyond a few contract types

Feature requests: Simulator/input constructor to validate spend paths, Symbolic execution engine for stricter validation, More example contracts in the repository

Competitors

Other products that read as similar to this one : 366 launches clear the similarity bar, closest 8 shown.

Attention rank: #113 of 367 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).

Launched 40 days after the earliest competitor.

The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.