solidity
/solidity733
So I have a script that onboards users by whitelisting them onchain when they sign up.
What's the best way to handle this if a ton of new users sign up at once?
Put them on a queue and run the txs one at a time?
and then just let the user know in the ui when it's done.
Would this work? better options?
Thanks!
What's the best way to handle this if a ton of new users sign up at once?
Put them on a queue and run the txs one at a time?
and then just let the user know in the ui when it's done.
Would this work? better options?
Thanks!
Anyone here learn how to write solidity by completing coding challenges on node guardians.
I feel my brain frying with the gaps in my knowledge whenever I look at these challenges
I feel my brain frying with the gaps in my knowledge whenever I look at these challenges
audit came back
no crits or highs
no crits or highs
Any solidity devs have ideas for ways to keep some info secret and build logic around it at the same time?
Already using a commit reveal scheme but hit some limitations with committing data based on what state you have and keeping that secret at the same time.
https://warpcast.com/nbragg/0x5c405360
Already using a commit reveal scheme but hit some limitations with committing data based on what state you have and keeping that secret at the same time.
https://warpcast.com/nbragg/0x5c405360
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?
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 :)
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
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
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
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!
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!
My frist factory implementation and my first deploy on @zksync. From
@cyfrin Updraft @patrickalphac Solidity 101 course π€
https://sepolia.explorer.zksync.io/address/0xE332ae84F1fd8aA605477602fb76D4eeA76096e4#contract
@cyfrin Updraft @patrickalphac Solidity 101 course π€
https://sepolia.explorer.zksync.io/address/0xE332ae84F1fd8aA605477602fb76D4eeA76096e4#contract
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?
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)
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/
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?
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)
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
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