Inspiration
When I participated in Numen CTF challenge I felt, why there is no proper on-chain way to access the private data of the contract and event logs. After the chainlink hackathon was announced I got inspired by the chainlink function itself and started doing so and completed the DAPP today.
What it does
RunMyFunc uses the ChainLink function to make sure the emitted event logs and storage slots of any contract can be accessible on-chain. Moreover, it has a half-universal frontend for the chainlink functions with more customization possible.
How I built it
Actually, first I started with nodejs API to get the emitted logs by a particular contract address from a particular block number and additionally, I have added storage slot accessibility also. Then started building the frontend with scaffold-eth-2 to reduce the development and clean the frontend for my DAPP.
Challenges I ran into
The main challenge is how to create the buffered output from the chainlink source and get the decoded values in the nextjs frontend for better UI/UX.
Accomplishments that I am proud of
Now, I felt like I have accomplishments that everyone belive this is impossible or very hard to get. That is the off-chain emitted logs and storage slot of any contract in the on-chain. :-)
What I learned
I have learned how to encode and decode data, connect nextjs frontend with blockchain data and many more...
What's next for RunMyFunc
I want to improve the UI/UX and give more customization to the frontend. More specifically, instead of typing and fill the details I am planning to give a wizard to increase UX. More optimization and error handling needs to be fixed.
Built With
- etherjs
- nextjs
- node.js
- scaffold-eth-2
- vultr.com
- wagmi

Log in or sign up for Devpost to join the conversation.