ChainCompute
Run expensive computations off-chain and push the result back on-chain
Screenshots

Problem Statement
There are situations when the gas fee for on-chain computation is really high because of the functions being resource demanding and the general bottlenecks on blockchain. The app can allow the user to get the on-chain computation off-chain using The Graph and then push the result back on-chain eliminating majority of the gas needed to run it.
Solution
The Graph API was overally easy to implement but took some time to debug here and there. With API3 the whole process is pretty smooth but can be hard for new users. Having The Graph's API Airnode so we had to make a proxy API for it that was able to send the GraphQL query as a normal query parameter for it to work.
Hackathon
ETHIndia 2022
2022
Contributors
- vanshwassan
12 contributions