I made a zero dependency Bitcoin math implementation in C
Zero dependency Bitcoin math implementation in C. Contribute to CambridgeStateMachines/bitcoin_math development by creating an account on GitHub.
I made a zero dependency Bitcoin math implementation in C launched on April 13, 2025 with 26 votes, #780 of 7,818 launches that month and more than 90% of that year's launches. The site was still online in September 2026, 1 year on.
In plain words
This is a C library that implements Bitcoin mathematical operations without requiring any external dependencies. It's designed for developers who need to perform cryptographic calculations related to Bitcoin in their applications. What stands out is its minimal approach—by eliminating dependencies, it reduces complexity and potential security concerns while making integration straightforward for systems-level programming projects.
written from the facts on this page · September 2026
From the sources
WARNING: THIS PROGRAM USES THE rand_s FUNCTION FROM THE WINDOWS stdlib.h TO GENERATE PSEUDO RANDOM ENTROPY. MICROSOFT STATES THAT rand_s PRODUCES CRYPTOGRAPHICALLY SECURE RANDOM NUMBERS . HOWEVER, USERS SENDING COINS TO RANDOM ADDRESSES GENERATED BY THIS PROGRAM DO SO AT THEIR OWN RISK! I started the bitcoin_math project in order to teach myself the basics of Bitcoin math from first principles, without having to wade through the source code of any of the crypto or "bignum" libraries on which standard Bitcoin implementations in Python depend. My goal was to collect together a minimal set of functions in a single C source code file with no dependencies other than the following standard C…from github.com
Does a similar job
all alternatives →
Mako – a full Bitcoin implementation in C2021 · github.com · ▲239Bitcoin node written in C. Contribute to chjj/mako development by creating an account on GitHub.
Bit – A fast and easy Python Bitcoin library2017 · github.com · ▲72Bitcoin made easy. Contribute to ofek/bit development by creating an account on GitHub.
An educational blockchain implementation in Python2017 · github.com · ▲412Various ipython notebooks. Contribute to julienr/ipynb_playground development by creating an account on GitHub.
- IBI built a minimal Forth-like stack interpreter library in C2025 · ▲47
This weekend I created stacklib.h - a single-header library that brings Forth-style stack operations to C. It implements a basic interpreter with: - Stack operations (push/pop/dup/swap/over/drop) - Arithmetic (+, -, *, /) - Output (., emit, cr) - Stack inspection (.s, depth) Example usage: Stack s; stack_init(&s); dict_init(); exec(&s, "10 20 + ."); // Prints "30" exec(&s, "1 2 3 4 .s"); // Shows stack contents The library is self-contained, requires no dependencies, and handles basic error checking. It was inspired by wanting to understand…
Very basic blockchain-free cryptocurrency PoC in Python2017 · github.com · ▲171Very basic blockchain-free cryptocurrency PoC in Python - spipm/crackcoin
Libconcurrent – Coroutines in C2016 · github.com · ▲91:copyright: Concurrent Programming Library (Coroutine) for C11 - sharow/libconcurrent
More dev tools this month
the category →

open-source IDE for thoughtful software design. Contribute to devdotfast/whiteboard development by creating an account on GitHub.
Dev tools · 28d ago · github.com

Contribute to reladraw/reladraw development by creating an account on GitHub.
Dev tools · 26d ago · github.com
OpenBot▲362Grok Bot alternative: free, local, open-source, multiplayer
Dev tools · 23d ago · openbot.run
Talanoa▲346Hi HN, I’m a fullstack developer, and honestly, I’ve lost count of how many side projects I’ve worked on over the years. But one idea kept coming back to me: a different kind of email client. It first came to me in 2014: “What if we could handle emails more like conversations?” Every year, I’d revisit this concept in my “Build Notes.” Ten years later, no one had built exactly what I had in mind — so I finally decided to do it myself. That’s how Talanoa was born. I wanted something focused on people, not timelines. I was tired of marking messages as unread just to remember to reply later, or…
Dev tools · 21d ago · talanoa.email
CoreSpeed▲332One MCP for everything your agents need: apps, memory, tools
Dev tools · 28d ago · corespeed.io
Source: Show HN post ↗
Launched alongside, April 2025
the whole month →
Hi everyone, I built PyXL — a hardware processor that executes a custom assembly generated from Python programs, without using a traditional interpreter or virtual machine. It compiles Python -> CPython Bytecode -> Instruction set designed for direct hardware execution. I’m sharing an early benchmark: a GPIO test where PyXL achieves a 480ns round-trip toggle — compared to 14-25 micro seconds on a MicroPython Pyboard - even though PyXL runs at a lower clock (100MHz vs. 168MHz). The design is stack-based, fully pipelined, and preserves Python's dynamic typing without static type restrictions.…
Dev tools · 2025 · runpyxl.com

The Unsure Calculator is an online tool that lets you calculate with numbers you’re not sure about.
Life & fun · 2025 · filiph.github.io

https://the-pocket.github.io/Tutorial-Codebase-Knowledge/
AI · 2025 · github.com


