Thank you for your precious guide.
I would like just to notify, not sure if it is related to an older version of Wagmi, but now parameters 'addressOrName' and 'contractInterface' are named 'address' and 'abi'.
You're welcome and thank you again for the great work!
Another update that may be useful for the readers, now with wagmi it is mandatory to use 'usePrepareContractWrite' with 'useContractWrite', I've found useful this example from Wagmi website for smart contracts write interactions:
wagmi.sh/examples/contract-write-dynamic