> ## Content Index
> Fetch the complete content index at: https://www.stirup.si/llms.txt
> Use this file to discover other available public pages before exploring further.

# MyCoin: Experimental Proof-of-Work Ledger for Cryptographic Research
- URL: https://www.stirup.si/mycoin-experimental-proof-of-work-ledger-for-cryptographic-research-2e693c82/
- Published: 2026-11-13T11:15:15.000Z
- Updated: 2026-11-13T11:15:15.000Z
- Description: MyCoin is a research-grade, single-file Python-based proof-of-work ledger designed for experimentation with novel account types and post-quantum security concepts, emphasizing readability and rigorous testing.
- Author: Satish Das
- Tags: Community, News, Stirup Research

## Overview and Purpose of MyCoin

The MyCoin project, currently under development and not intended as a coin offering, is a research-grade proof-of-work ledger designed for experimentation with novel account types and security concepts. It is implemented as a single-file, pure Python application, emphasizing readability and simplicity. The project serves as a testbed for exploring cryptographic innovations, particularly in post-quantum security and advanced account management features such as vault and agent-allowance mechanisms. Unlike traditional blockchain implementations, MyCoin prioritizes rigorous verification through extensive testing methodologies, including unit tests, differential fuzzing, and mutation testing. However, it is important to note that the project is not yet audited by any independent party, and users are advised to treat it as a work in progress with known limitations. This makes MyCoin a valuable tool for academic and experimental purposes rather than a production-ready system.

## Key Features and Security Innovations

The ledger introduces three key account types with distinct security and functionality features. Post-quantum accounts (pq:) use hash-based one-time signatures (WOTS+) under a Merkle root, following XMSS-style design with SHA-256 only, as described in [Hacker News Show](https://github.com/Sajidsaj/mycoin-research?ref=stirup.si). Vault accounts (vault:) enhance security by ensuring that stolen hot keys cannot immediately drain funds; instead, withdrawals are placed in escrow for N blocks, and a cold recovery key can cancel them, as outlined in [Hacker News Show](https://github.com/Sajidsaj/mycoin-research?ref=stirup.si). Agent allowance accounts (agent:) provide a mechanism where AI agents or hot keys are granted a consensus-enforced spending cap per window, while the owner key retains full spending power, as noted in [Hacker News Show](https://github.com/Sajidsaj/mycoin-research?ref=stirup.si). These innovations aim to address quantum threats, theft risks, and AI agent misbehavior without compromising user control.

## Implementation and Verification Process

The implementation of the Python PoW ledger was developed with significant AI assistance and subjected to rigorous verification processes. The project includes 563 unit and integration tests, along with differential and stateful fuzzers, as noted in [Hacker News Show](https://github.com/Sajidsaj/mycoin-research?ref=stirup.si). Mutation testing achieved a 74/80 mutant kill rate, with the remaining 6 mutants documented as behaviour-equivalent. A local 3-node network was tested against various attacks, including invalid blocks, forged signatures, floods, double spends, and deep-reorg attempts, without consensus breaking. Users can install dependencies via `pip install -r requirements.txt` and run self-tests with `python mycoin_v13.py selftest`. A demo of the tiny in-memory chain is available with `python mycoin_v13.py demo`. For testing on Linux/macOS, the command `MYCOIN_MATURITY=2 python test_mycoin_v13.py` executes the full test suite, while `MYCOIN_MATURITY=2 python fuzz_mycoin_v13.py` runs the fuzzers, with an optional seed offset parameter.

## Limitations and Security Considerations

Limitations and Security Considerations must be carefully evaluated when using this Python-based proof-of-work ledger. As noted, a proof-of-work chain is only as secure as the honest hash power behind it \[[Hacker News Show](https://github.com/Sajidsaj/mycoin-research?ref=stirup.si)\]. In simulations, an attacker with 50% of the hash power can successfully compromise the chain, and even 40-45% hash power provides a real chance of attacking 6 confirmations \[[Hacker News Show](https://github.com/Sajidsaj/mycoin-research?ref=stirup.si)\]. Additionally, the vault feature offers protection against theft but does not safeguard against the loss of both keys. It also requires the owner to check pending withdrawals within a specified delay for it to function properly \[[Hacker News Show](https://github.com/Sajidsaj/mycoin-research?ref=stirup.si)\]. These limitations highlight the importance of combining technical safeguards with user responsibility to ensure the system's integrity and reliability.

## Usage and Setup Instructions

To use the Python PoW ledger, first install the required dependencies and run the audit pipeline with `python audit_pipeline.py --mutants mutants_v13.json` for a full gate including lint, matrix, fuzz, and mutation testing (\~40 min). On Windows PowerShell, set `$env:MYCOIN_MATURITY=2` and execute `python test_mycoin_v13.py`. The pure-Python signer is disabled by default without `coincurve` due to side-channel risks.

To create new accounts, use `python mycoin_v13.py wallet new --file hot.w` and `python mycoin_v13.py wallet new --file rec.w`. A vault can be created with `python mycoin_v13.py vault-create`, specifying public keys and a delay. For post-quantum keys, run `python mycoin_v13.py pq-new --file pq.w --h 4`. To start a local node, use `python mycoin_v13.py node --mine --host 127.0.0.1`, and set `MYCOIN_BITS=12` and `MYCOIN_MATURITY=2` for a faster test network.

## Sources and reporting notes

- [Hacker News Show](https://github.com/Sajidsaj/mycoin-research?ref=stirup.si)

Based on published source material. No independent hands-on testing is claimed.