The example code I could find is Send and spend funds from predicates | Fuels-ts
But the code snippets come from tests, rather than a “real” frontend that uses testnet.
Is there a simple example or tutorial similar to this one for contracts? Building a Frontend - The Fuel Book