Skip to content
View mpetrunic's full-sized avatar
👋
👋

Organizations

@KSET @libp2p @multiformats @NodeFactoryIo @web3 @UBIKhr @sprintertech

Block or report mpetrunic

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
mpetrunic/README.md

hey, I'm Marin 👋

I make computers agree with each other: fast, securely, and without trusting anyone.

Email me LinkedIn

$ marin --version
marin v10.0.0  (a decade of distributed systems in production)
built in:      Zagreb, Croatia 🇭🇷
running on:    Staff Engineer @ Sprinter
previously:    Head of Engineering @ ChainSafe · Lodestar core maintainer · web3.js maintainer · libp2p maintainer · Node Factory co-founder (acquired)
status:        🟢 accepting proposals: consulting · code audits · web3 architecture

🧬 type Marin struct

// Package marin: a mostly-deterministic engineer. Side effects include shipping.
package marin

type Skills struct {
	Languages  []string
	Networking string
	Consensus  string
	Crypto     string
	Trading    string
}

func Stack() Skills {
	return Skills{
		Languages:  []string{"Go", "TypeScript", "Node.js", "Solidity"},
		Networking: "libp2p: peer-to-peer networks that survive the real internet",
		Consensus:  "Ethereum beacon chain: core maintainer of Lodestar, 1,700+ commits",
		Crypto:     "MPC / threshold signing: keys that are never in one place",
		Trading:    "low-latency execution: solvers, arbitrage, every µs on the budget",
	}
}

🗳️ Need something done? Reach consensus with me

Pick a proposal and click it. Each one opens an email to marin@foobar.hr with the subject already filled in.

📦 Proposal What you get
🏗️ Software development consultancy Architecture, technical due diligence, scaling a team from 5 to 40 without the codebase catching fire.
🔍 Code audit Go / TypeScript / Node.js / Solidity reviews for correctness, security, and performance. Findings you can act on, ranked by severity.
⛓️ Web3 consulting Protocol design, cross-chain and bridging, smart-contract architecture, and talking you out of a token when you don't need one.
🔐 MPC & key management Threshold signing services, relayer networks, and key ceremonies that don't need a single trusted party.
🕸️ P2P networking libp2p stacks, gossip, peer discovery, and debugging why node #37 can't see anyone.
⚡ Low-latency trading infra Solvers, arbitrage, and execution pipelines where p99 is the only metric that counts.
how we reach finality
─────────────────────
 slot 1  📨 PROPOSE    you email marin@foobar.hr with the problem
 slot 2  ✅ ATTEST     we have a short call and agree on scope
 slot 3  🔒 FINALIZE   I ship it, you get code, docs and no surprises

⏱️ Latency budget

p2p gossip propagation ............... a few hundred ms
Ethereum slot ........................ 12 s
arbitrage opportunity lifetime ....... 1 block, if you're lucky
you → my inbox ....................... one click on the email badge above

🛠️ Things I've built

Project What it is
Lodestar TypeScript Ethereum consensus client running on mainnet. I was a core maintainer working on networking, the validator client and APIs.
Sprinter Cross-chain credit and liquidity routing: an MPC signing service, relayers, solvers.
fastify-sse-v2 Server-Sent Events for Fastify. 100+ ⭐ and used in production.
🥚 git log --oneline career (click me)
a1f3c9e (HEAD -> main) feat: architect Sprinter: cross-chain liquidity, MPC signing, solvers   [2024–now]
7b2e410 feat: run a 40-person engineering org as Head of Engineering @ ChainSafe             [2021–2024]
3c9d0aa merge: Node Factory acquired by ChainSafe 🎉                                          [2021]
9e0c7d1 perf: 1,700+ commits to Lodestar, the TypeScript Ethereum consensus client           [2019–2024]
e44b1f2 feat: co-found Node Factory, a blockchain R&D studio					            [2018]
1d2f3b4 revert: chatbot startup didn't find its market, but the lessons were merged           [2016–2018]
adff3b4 feat: first online loans for biggest bank in Croatia					          [2016–2018]
0000001 init: BSc Software Engineering, FER Zagreb                                            [2016]
🤔 Fun facts
  • I've spent more time thinking about clocks than most clockmakers: slots, epochs, timeouts, and the occasional µs.
  • My favourite bug is a race condition that disappears when you add a log line.
  • I'm a home-automation hobbyist. My stair lights run on Rust and Go, because of course they do.

Got a hard distributed-systems problem?
📬 marin@foobar.hr. Proposals are processed in fewer slots than you'd think.

Pinned Loading

  1. fastify-sse-v2 fastify-sse-v2 Public

    Provide Server-Sent Events to Fastify

    TypeScript 119 22

  2. libp2p/js-libp2p libp2p/js-libp2p Public

    A JavaScript Implementation of libp2p networking stack.

    TypeScript 2.6k 568

  3. ChainSafe/lodestar ChainSafe/lodestar Public

    🌟 Ethereum Consensus client for the Zig and TypeScript ecosystem

    TypeScript 1.4k 507

  4. ethereum/beacon-APIs ethereum/beacon-APIs Public

    Collection of RESTful APIs provided by Ethereum Beacon nodes

    HTML 388 231

  5. ChainSafe/js-libp2p-noise ChainSafe/js-libp2p-noise Public

    Noise libp2p handshake for js-libp2p

    TypeScript 43 35