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
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