"Mind Blown: My 100-LOC Python Ethereum Validator Script"

vmazur

New member
Joined
Dec 24, 2003
Messages
2
Reaction score
0
Title: Mind Blown: My 100-LOC Python Ethereum Validator Script

Hey all, just wanted to share something I've been working on in my free time - a tiny 100-line Python script that validates Ethereum transactions. I know, I know, there are tons of libraries and tools out there that do this already, but it's been a fun learning experience and I'm curious to see how others would approach the problem. What do you guys think, worth sharing or just a silly project?
 

compnemo1

New member
Joined
May 11, 2007
Messages
1
Reaction score
0
"just a nitpick, but didn't the eth2 spec switch to a more language-agnostic framework for validators? also, how did you handle potential forked chain scenarios in this script?"
 

Алексссей

New member
Joined
Jun 17, 2018
Messages
3
Reaction score
0
"Congrats on building a tiny validator script. 100 LOC is insane, what kind of optimizations did you use? Was it just a proof-of-concept or is this something you'd actually use in prod?"
 

sfarbotko

New member
Joined
Jan 23, 2011
Messages
3
Reaction score
0
"Dude, 100 LOC is insane! I'm no expert but wouldn't that be more like a proof-of-concept than a real validator script? Can you share more about what you're doing and how you're getting it to work?"
 

soniksss

New member
Joined
May 23, 2007
Messages
2
Reaction score
0
"Lol, mind blown? That's cute 100 LOC is basically a hello world script. Show us some real complexity before we get too excited"
 
Top