Nicolás Ludueña

A cross-section of the software I like to build, from agents at the top of the stack down to a byte of LEDs. Every layer below is live. Scroll to drill down, and touch whatever you like.

Drill down
  1. L4Agentsissues closed while I sleep
  2. L3PrivacyMidnight · Thoth, building now
  3. L2LedgerCardano UTxOs
  4. L1LanguageTx3, lowered to Cardano bytes
  5. L0Siliconwhere it started

L4Agents work the night shift

I file issues on GitHub and Linear during the day. At night nico-agent hands each one to a builder agent, which writes the change and opens a pull request. A second agent, on a different harness, reviews it and sends it back if something is missing. In the morning I read what's waiting and merge.

nico-agent on GitHubSynthetic issues

Here's a night of nico-agent, replayed.

Simulated night22:00

Your day local time

Queue issues for tonight

  1. #45Bump pallas to the latest releaseQueued
  2. #41Indexer drops rollback events on forkQueued
  3. #38Flaky test in tx builder fee estimateQueued
  4. #44Add CIP-30 signData to the wallet adapterQueued
  5. #47Indexer: retry when the node drops the socketQueued
  6. #49Docs: example for a private counter contractQueued
  • Building
  • Reviewing
  • Approved
  • Changes requested or blocked
  • Handoff

Morning Waits for 07:00

Nothing yet. Pull requests land here once the reviewer is done with them.

  1. PR #218#45 Bump pallas to the latest releaseApproved on the first pass
  2. PR #220#38 Flaky test in tx builder fee estimateApproved: the seed is fixed, 200 runs green
  3. PR #219#41 Indexer drops rollback events on forkApproved after one round: a rollback test was added
  4. PR #222#47 Indexer: retry when the node drops the socketApproved on the first pass
  5. PR #221#44 Add CIP-30 signData to the wallet adapterApproved after one round, with 2 comments for you
  6. PR #223#49 Docs: example for a private counter contractNeeds a human decision: may anyone reset the counter, or only the deployer?

Log

    L3Prove it without showing it

    Say a Midnight contract should only let you in if your GitHub repo has 100+ stars. It can't read GitHub, and you'd rather not put the real number on a public chain. Thoth, which I co-authored at TxPipe, handles that: independent attestors check the fact and sign what they saw, your device proves enough of them signed and the number clears the bar, and the chain sees only the proof.

    txpipe/thoth on GitHub ↗2nd place, Midnight Hackathon Buenos Aires · 2025 and 2026Nullifier is a real SHA-256; signatures, proofs and blocks are simulated

    Your device

    Everything on this side of the copper line stays private.

    The fact

    The contract wants to know your repo has at least 100 stars.

    Private. Try a number under 100 to watch the rule fail.

    Attestors check it and sign

    Three independent services the contract already trusts. Each fetches the star count itself through Reclaim zkFetch and signs what it saw. Any two signatures are enough; tap one to take it offline.

    2 of 3 online · 2 needed

    Your device proves it

    A small program (a Compact circuit) runs right here. It checks the signatures against the trusted keys, then checks the rule on your hidden number. Only if both pass does it produce a proof.

    A forger skips the circuit and sends random bytes.

    Dashed boxes are private inputs. They never leave this device.

    What leaves your device

    • Your repo's stars · 142stays here
    • Attestor signatures · 2stays here
    • The proofgoes to the chain
    • A nullifier, a one-time stampgoes to the chain

    Change the number or take an attestor offline, then press Prove it. Watch what crosses the copper line.

    What a developer writes: Thoth's modules from @txpipe/thoth-contracts, plus one line for the rule.

    import "attestation"<24, 3, 2, 2, 3> prefix A_;  // 2-of-3
    import "attestor_registry"<3, 24> prefix R_;
    
    export circuit requireStars(id: Bytes<32>, min: Uint<64>): [] {
      const c = A_openClaim(id);  // private vaulted claim
      assert(c.present[0] && c.values[0] >= min, "too few stars");
    }

    The chain

    Public. Anyone can read it, so it only gets what crosses the line.

    What the chain received

    Your repo's stars
    never sent
    Rule
    none
    Nullifier
    waiting
    Proof simulated
    none
    Verdict
    waiting for a proof

    The nullifier is a SHA-256 hash of your hidden number and a random secret kept on your device. The chain keeps it so the same proof can't be used twice, but it can't work back to your number.

    Public record

    synthetic blocks

    Every submission stays here for good. A nullifier already in this list is refused, and no hidden value ever appears.

      Nothing recorded yet.

      L2Nobody has a balance

      On Cardano a wallet holds no balance, only unspent outputs left by earlier transactions. To pay, you spend whole outputs, and the transaction creates new ones: the payment, and your change minus a fee. Each output can be spent once. Pay someone and watch the graph grow.

      Devnet · synthetic ₳Fee fixed at 0.17 ₳Lace Anatomy, the explorer I built

      Scroll sideways inside the frame for the whole graph

      • Yours, unspent
      • Spent
      • Someone else's
      • Transaction

      These transactions are toys. Real ones, drawn the same way, are in Lace Anatomy, the Cardano explorer I built with the team at TxPipe.

      Pay Alice 9 ada

      Tap your copper outputs to use them as inputs. Each one is spent whole.

      Inputs none selected
      0.00
      Needed 9 + 0.17 fee
      9.17

      This transaction creates

      Alice
      9.00
      You, as change
      –
      Fee to the network
      0.17

      A wallet would show you a balance of 40.50 ada. That is only the sum of your 4 unspent outputs.

      L1Where the language meets the ledger

      Tx3 is TxPipe's language for describing Cardano transactions. I didn't write its grammar. My part sits under it, where a Tx3 block becomes a field of a real Cardano transaction: reference inputs, collateral, min_utxo and treasury donations. Switch them on and watch the body re-encode, byte by byte.

      CBOR encoded in your browser · mainnet fee and min_utxo parameters · hashes syntheticMy Tx3 pull requests ↗
      transfer.tx3

      Transaction body

        Fee
        Minimum output
        first byte

        L0Eight LEDs are a byte

        Before any of the above there was C on a microcontroller, an electronics technician's degree and a soldering iron. Draw frames on the matrix. The board plays them, and the firmware next to it rewrites itself to match.

        ATmega328P · PORTB drives D1–D8 through R1–R8
        GNDR1D1R2D2R3D3R4D4R5D5R6D6R7D7R8D8ATMEGA328P-AU 2611U1PB7PB6PB5PB4PB3PB2PB1PB016.000Y1J2 ISPNL-STACKREV 2026 · CÓRDOBA ARPORTB = 0x18ATMEGA328P-AU 2611U1PORTB = 0x18PB7PB0GNDD1D2D3D4D5D6D7D8NL-STACK
        0x00
        0x00
        0x00
        0x00
        0x00
        0x00
        0x00
        0x00
        main.c
        #include <avr/io.h>
        #include <util/delay.h>
        
        static const uint8_t frames[8] = {
        
        };
        
        int main(void) {
          DDRB = 0xFF;  // eight pins out
          for (uint8_t i = 0;; i = (i + 1) % 8) {
            PORTB = frames[i];
            _delay_ms(140);
          }
        }