Content pfp
Content
@
0 reply
0 recast
2 reactions

phil pfp
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?
3 replies
0 recast
9 reactions

Idan Levin 🎩 pfp
Idan Levin 🎩
@idanlevin
It's called event based smart contracts, basically allowing smart contracts to subscribe to on chain events Found some research here: https://ethresear.ch/t/event-driven-smart-contract-development/3047 I think there have been attempts, but the issue is that it introduces a lot of complexity to the VM
3 replies
0 recast
5 reactions

Idan Levin 🎩 pfp
Idan Levin 🎩
@idanlevin
Basically you can manage a registry for all the events subscriptions, but now you need to also make sure there is enough gas in advance for this. There are infinite cool applications you can do with this
0 reply
0 recast
0 reaction

phil pfp
phil
@phil
thank you for this!
0 reply
0 recast
2 reactions

Drew Fisher pfp
Drew Fisher
@drewf.eth
Getting it in L1 will be impossible, but having it as part of an L2 derivation function has been discussed: it seems fairly easy to modify the OP stack to act based on L1 events besides “deposits” (which can be arbitrary messages) to the bridge. https://warpcast.com/drewf/0xf304dd
0 reply
1 recast
2 reactions