Interacting with Cardano Smart Contracts NOT through a protocol UI

Hi there,

I want to automate querying and interacting with various smart contracts e.g. SundaeSwap pools. How can I do that without going through the protocol’s UI?

I.e. query MELD-ADA price on SundaeSwap then build and sign a transaction to swap 100 ADA for x amount of MELD in SundaeSwap.

You can’t do that by just calling smart contracts on Cardano. You still need to call SundaeSwap endpoints, because there’s data passed off chain. If SundaeSwap provides a public API, this will be straightforward. If not, you’ll have to figure out what endpoints to call with what data and you have no guarantee this will keep working if SundaeSwap makes some changes or tries to counter this.

1 Like