project screenshot 1

ChainCompute

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

ChainCompute

Created At

ETHIndia 2022

Project Description

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.

How it's Made

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.

background image mobile

Join the mailing list

Get the latest news and updates