Content
@
0 reply
0 recast
2 reactions
phil
@phil
Functionality I deeply want: the ability for smart contracts to take action based on certain onchain events For example: if wallet A sends ETH to wallet B, smart contract does X Is this possible today / is anyone working on this?
5 replies
0 recast
9 reactions
moritz ๐ง๐
@moritz
The closest to this I'm aware of is offchain hooks that trigger other onchain actions, like: https://docs.tenderly.co/web3-actions/intro-to-web3-actions
1 reply
0 recast
1 reaction
phil
@phil
It would be better for composability to be fully onchain
3 replies
0 recast
2 reactions
moritz ๐ง๐
@moritz
For sure!
0 reply
0 recast
0 reaction
Drew Fisher
@drewf.eth
If the contract youโre watching supports hooks, you can insert a callback, but this adds gas overhead for the caller. Composability is nice, but forcing other people to trigger your code isnโt. You can already use MEV/incentives to get your callbacks called if theyโre valuable enough.
0 reply
0 recast
1 reaction
RoboCopsGoneMad
@robocopsgonemad
Could you elaborate on why? On The surface this sounds like a gas nightmare
0 reply
0 recast
0 reaction