dreamcatcher-tech / dreamcatcher-stack

https://dreamcatcher.land
1 stars 0 forks source link

useAPI function to auto load a chains functions #175

Open inverted-capital opened 7 months ago

inverted-capital commented 7 months ago

Within a reducer, it is often useful to call out to other chains.

A hook that would go out, look up the covenant, and pull in the api, would be very useful.

With the advent of AI, APIs can be dynamic, so we might have some use for making this lookup be more realtime, but for now, covenants represent highly baked and tested units of code, and the API they present is the API of the chain that is running them.