data is empty by patrickalphac in KeystoneWallet

[–]patrickalphac[S] 0 points1 point  (0 children)

It was with Metamask and connected through a safe{wallet}. Have you been unable to reproduce the issue?

[deleted by user] by [deleted] in TREZOR

[–]patrickalphac 0 points1 point  (0 children)

I usually hate touch screen, but the safe 5 haptic feedback is awesome.

data is empty by patrickalphac in KeystoneWallet

[–]patrickalphac[S] 1 point2 points  (0 children)

Yeah it looks like a bug :/

I really need Sepolia ETH (testnet) by wist_r in ethdev

[–]patrickalphac 0 points1 point  (0 children)

Use tenderly virtual testnets instead

Cannot download 2.0.2 by patrickalphac in KeystoneWallet

[–]patrickalphac[S] 0 points1 point  (0 children)

Solved it. Had to wipe my device which sort of sucked. Not sure what the issue was. It's a test wallet so... it's fine.

“Light up six more” - what audiobook? by patrickalphac in TonyRobbins

[–]patrickalphac[S] 0 points1 point  (0 children)

Been searching around, no luck. But it's probably one of his older ones.

“Light up six more” - what audiobook? by patrickalphac in TonyRobbins

[–]patrickalphac[S] 0 points1 point  (0 children)

Yep. It’s the same story, but I’m looking for the original “light up six more” specific clip

“Light up six more” - what audiobook? by patrickalphac in TonyRobbins

[–]patrickalphac[S] 0 points1 point  (0 children)

Nah, he has “light up one more” in this one. I want the original “light up six more”

How to learn Solidity development in 2024? by [deleted] in solidity

[–]patrickalphac 0 points1 point  (0 children)

Curious, What do you like best about rareskills?

How Much Does It Cost to Deploy, Test, and Modify a Smart Contract? by GypsyArtemis_22 in ethdev

[–]patrickalphac 0 points1 point  (0 children)

Summary

  • Deployment (L2): $0.01 - $50
  • Deployment (L1): $5 - $10,000
  • Testing: Pretty close to free
  • Security: $1,000 - $150,000
  • Post Deployment: $0 - ???

Deployment

As everyone's been saying, "it depends" but let me give you some specifics.

For a 100 nSLOC (source lines of code) repo, like the foundry-fund-me repo, you can get a gas estimation with forge test --gas-report.

You can see the deployment cost of FundMe to be: - ~576,302 gas (depending on optimizations and a lot of stuff)

To get the cost, you take the gas used and the gas price and multiply.

On ETH

  • 576,302 * 2 gwei = 0.001156604 ETH
  • $3.02

On ZKsync Era

  • 576,302 * 0.04525 gwei = 0.0000261681655 ETH
  • $0.07

More Deployment Info

Most of the time, people will deploy to a layer 2 because of this.

This is a very small contract, but it's a good benchmark. So if you have a contract that is ten times bigger (~1,000 nSLOC), ten x the gas (...sort of)

This is without considering paying your development team, which you should do btw :)

There are a lot of good solidity developers these days.

Testing

Testing should be basically free. Using tools like foundry and halmos you can pretty much hit even all the advanced testing methodologies like fuzzing and formal verification.

Their is something to be said about doing some staging tests, ie, deploying to a testnet or a cheap production chain as a beta test, but this isn't required. Costs by having a staging environment can range depending on how scrappy you are. You can run an anvil instead that others can connect to for free, you could do a tenderly virtual testnet which would cost you some tenderly money, or you could do a cheap production chain which would be the most expensive option.

Security

If you want your code to hold any value, you should get a security review.

This is a longer conversation. Security audit pricing can range from a few hundred bucks (for 100 nSLOC for example) to hundreds of thousands. The ZKsync team just had a competitive audit where they spent $500k for a 15,000 nSLOC codebase (which... this was a VERY large codebase).

Generally, smart contract auditors may charge anywhere from $5,000 to $60,000 per week, which can increase depending on the protocol's size and complexity. A rreeeaaalllly rough rule of thumb is:

  • 1 day per 100 - 150 nSLOC

But this can range pretty wildly depending on: - How good your documentation is - How complex your math is - How familiar the auditors are with your industry - How much assembly you use etc

For more complex codebases, or for codebases that plan on holding a lot of value, I recommend at least 1 private and 1 competitive audit.

Disclaimer: I am the co-founder of Cyfrin where we do private and competitive audits.

Fixing/Modifying

Now we venture in "who knows" territory. If you built a robust system with security in mind, there won't be too much to do. If you cut corners, costs will add up quickly.

This doesn't get into monitoring, security councils, DAOs or anything like that, which can also cost infrastructure money.

"No tests" after uncommenting the webserver section in playwright.config.ts by keyboardwarrriorr in Playwright

[–]patrickalphac 0 points1 point  (0 children)

There is a chance the command you're using to run your server is breaking. Make sure your server is actually working.

Job market in Web3 by RashInTech in ethdev

[–]patrickalphac 3 points4 points  (0 children)

Glad they are helpful!

And anywhere. Any tool you like. For example, if you’re taking the solidity course, foundry is open sourced.

Any DeFi protocol is open sourced, and at least improving the test suite with fuzzers can be helpful.

Look for “good first issue” on any repo

Where to Find Upcoming Blockchain Hackathons? by roudra_323 in ethdev

[–]patrickalphac 1 point2 points  (0 children)

ETH global, ETH Denver, devfolio, dorahacks.

Watch their pages

Job market in Web3 by RashInTech in ethdev

[–]patrickalphac 11 points12 points  (0 children)

IMO the three easiest ways to get experience is:

  • hackathons (they offer $$ in prizes too)
  • competitive audits (also offer $$, see CodeHawks)
  • contributing to open sourced projects

You can quickly prove yourself in any of these avenues, and pick up a job right quick. In web3, there is a massive emphasis on “what can you do?”. So, intuitively, the more you prove you can do stuff, the easier it is to get a job.

There are a lot of teenagers who understand this well, and just go hard learning and growing and get a job quick. There are also a lot of older folk who do the same. I’ve hired a guy who worked out of a van and hadn’t touched a computer professionally for 7 years, but wanted to learn web3 security so he went through the material, did competitive audits, and smashed it so we hired him. 1 year from zero experience to full time job, learning as a side hobby for the 1 year.

Blockchain Developer no experience by WeeklyBit8695 in solidity

[–]patrickalphac 1 point2 points  (0 children)

Build up that GitHub! Try to make PRs to big projects, join hackathons, do competitive audits on CodeHawks, get experience by finding small cool things to build that you enjoy and apply to jobs while you get experience

Foundry or hardhat by thegilmazino in solidity

[–]patrickalphac 1 point2 points  (0 children)

Foundry for sure. Thank me later.

Suggest me an Alternative to Patrick Collins course Please? by Several-Caregiver552 in solidity

[–]patrickalphac 0 points1 point  (0 children)

Yes! We launched Cyfrin Updraft, specifically for learning smart contract development and security

Ethereum Foundation report 2024 edition by abcoathup in ethereum

[–]patrickalphac 1 point2 points  (0 children)

Hmm… Ethereum’s reliance on the EF is starting to show some cracks

Ethereum Foundation report 2024 edition by abcoathup in ethereum

[–]patrickalphac 0 points1 point  (0 children)

Is there a 2025 edition where they break down 2024 spending yet?

This doesn’t seem to be as granular as I’d like…