News for hackers. Stuff that matters.

JamJomJim

Re:Show HN: Find any smart contract on Cookbook on Friday October 14, 2022 @07:24PM (#33209980)
Smart contracts are just pieces of code that run on "the blockchain". They can be pretty much anything: currency-like tokens, NFTs, marketplaces like opensea, exchanges like uniswap, etc.

Once they're uploaded to the blockchain, they're there permanently. That's really scary, because it's very difficult to write complicated code without bugs. When smart contracts have bugs, you can have massive hacks where literally billions of dollars are stolen.

Because the consequences are so high, people end up paying developers a ludicrous amount of money to write and deploy (i.e. upload to the blockchain) these contracts. A lot of projects also pay auditors thousands to read/review the smart contract code. This is pretty wasteful, because most contracts end up being the exact same thing: I'm making it up, but probably 80% of the code on ethereum is for NFTs.

This site seems to be aggregating all of the most common contracts and audits so people can reuse code that has already been approved.

Re:Show HN: Find any smart contract on Cookbook on Friday October 14, 2022 @06:18PM (#33209465)
Got it - seems like you can just directly deploy contracts
Re:Show HN: Get your Twitter roasted by an AI on Friday October 14, 2022 @05:26PM (#33208988)
Any reason you have to link your twitter account instead of just inputting a username? Twitter API doesn't need a link to pull tweets
Re:Show HN: Find any smart contract on Cookbook on Friday October 14, 2022 @05:21PM (#33208937)
How does this compare to OpenZeppelin? Aren't they already the default for free smart contracts?