Adam pfp
Adam
@adam-
For those who code, how long did it take before it started to find its way your dreams?
11 replies
4 recasts
33 reactions

L pfp
L
@lajos
When the first production smart contract that I worked on reached 1m USD TVL I regularly had nightmares about the contract having a bug. I'd wake up at 3am sweating and could only go back to sleep after I looked at the code.
2 replies
0 recast
1 reaction

Adam pfp
Adam
@adam-
I’d feel the same way if I had that much TVL. Have you worked on smart contracts since then? If so, what lessons from that first experience have you applied to other contacts or projects?
1 reply
0 recast
1 reaction

L pfp
L
@lajos
To quote Andy Grove, "only the paranoid survive" is true in smart contract land as well haha. I think the best (and maybe only) approach to successfully build and deploy smart contracts is hyper defensive programming - whatever could go wrong will go wrong: understand the code letter by letter, try to break it, always write invariant and fuzz tests, and splurge on auditors, pay for the absolute best you can afford even if it means cutting back on other costs like marketing. Even that's no guarantee you won't get hacked. It's a wild west and always will be no matter how govts regulate crypto. What will allow you to sleep is knowing that you did the absolute maximum humanly possible for each project you work with.
0 reply
0 recast
1 reaction