solidity

/solidity581

Anyone have ideas on why viem would show error codes locally with http() and anvil...

but doesn't on production with an alchemy rpc on base? And just shows a generic revert error?
Historians, anthropologists, and archeologists will study the contracts you deployed to mainnet in the 2020s
I'd love to do this but I just don't have the time

If you're an up and coming solidity dev this how you cut your teeth to gain experience, connections, and even a little money too :)
Introducing Solidity for VS Code

Code fast and secure Solidity smart contracts

Compile, deploy, test, secure and interact with your code on Ethereum β€” all within Visual Studio Code

Powered by /eth-wake
Try it nowπŸ‘‡
https://marketplace.visualstudio.com/items?itemName=AckeeBlockchain.tools-for-solidity
Did you know you can write your indexers (subgraphs) in Solidity using GhostGraph?

Check out this quick demo to see how you can fork GhostGraph from our community library and deploy your own graph: https://x.com/0xGhostLogs/status/1789737895944749088

Learn more here: https://docs.tryghost.xyz/ghostgraph/overview
what’s your favorite open-source solidity 0.8.x repo?

looking for inspiration + modern best practices now that I’m writing solidity again
How are you deploying smart contracts today? What could be better about that process?

We have an internal tool which you might like!
Can you recommend an open-source wallet contract that implements basic deposits/withdrawals/permissions, plus "multicall" batch writes? In other words, a contract that holds some tokens and can perform arbitrary actions when directed by an EOA with appropriate permissions. Thanks!
Ah yes, arithmetic under/overflow my old friend, gone from unit tests to return in my invariants test
Everyday I wake up, a new bug that I’m absolutely clueless about
Solidity devs:

How possible is it to store a large array to hold a leaderboard onchain?
It would need to be updated as it changes and shifted around.

My gut reaction as that this would be too expensive to make happen.
Is on a layer2 at least.

Or are there any better solutions?
Permit functionality is so bad that teams are upgrading contracts to specifically remove it as a feature (rightly so imo)
Share you alfa tools.

Mine are:
- heimdall (unverified contract decompiling)
- openchain (signatures database)
- blocksec (browser addon that injects additional cool staff on etherscan explorers)
this year’s unhanded solidity challenge: showcase transient storage usecases with cleverly hidden vulnerabilities. check out:

https://underhanded.soliditylang.org/

https://soliditylang.org/blog/2024/07/31/underhanded-solidity-contest-2024-announcement/
Anyone has experienced issues with submiting bundles to flashbots on testnets? My bundle can't go through tho I set super high gasPriorityFee like hundreds gwei.

Do you know any website where I can have a sneak peek on other bundles that were processed, so I could compare my settings?
In 2020-2022, I believed ERC-721s were THE answer to content monetization.

Now, I blame the standard. It wasn't composable enough to deliver *financial* utility.

That's why I'm bullish on what Zora is doing with Uniswap (+ also some tings planned w/ @rebase @niftytime.eth)
very basic but useful learning from this week:

if you're trying out a new smart contract write function you just built, and it doesn't work, try it again with more gas
Udemy doesn't get as much recognition as it should. It has 151 free Solidity/Blockchain courses and a few paid options.

https://www.udemy.com/course/learn-ethereum-and-solidity/
Well, I don't think white hat hacker is the career for me.

Anyways, great to see Bug Buster, a trustless bug bounty platform built with @cartesi rollups hit @optimism Mainnet πŸ”₯ Congrats to @claudioengdist & team!

If you want to self-checkout on the Solidity compiler v0.8.26 bounty, test/submit on bugbuster.app, if the exploit is valid, you get the bounty!

P.S. Come stock the Bug Buster store - if you want to create a bounty for your software, the team is happy to help you get it set up!
I would love feedback on first version of contracts for /red3 !

https://github.com/wkyleg/red3-contracts
hey solidity devs

wondering about proxy workflows

when you're working with a proxy + implementation contract setup and you start building a new version of the implementation

do you in-line update all your tests to point to the new implementation version? or make a new copy of tests?
note to self: don't forget to mstore(0x40, πŸ•Š)