I'm trying to create an application where I can charge a fixed amount of USD in XLM. I believe I can use path payment in order to accomplish this. But I'm not sure I understand what happens if I omit the path, will this accomplish the goal of getting me any path between XLM and USD?
I'm looking through the documentation and it seems like I can do something like
- Set up Trustline between recipient account with USD issuer account
- Find Path Payment with a USD issuer account between destination account and issuer
- Set up offer between destination account and (I'm not sure what this means)
- Use path payment and the destination account will receive 1 USD in lumens.
But step 3 confuses me.
My ideal world would be one where I could say send 1 dollars worth of lumens from source account to destination account, but i can't figure out how I would do that.
Thank you for any help you could be!