Is it possible to create an asset that is exchangeable on the distributed exchange but not directly transferable between accounts? if not, can I use the one account on the distributed exchange on behalf of my "customer"? For example, if my base account represent two people, one wants to sell the Pedrocoin for usd and the other one wants to buy it. Will it work? Because under the hood it is only one account that create a sell offer and a buy offer. I am a little bit confused...
Can an asset be exchangeable but not transferable
1) I believe you can't create an asset that is exchangeable but not transferable.
2) If you're using one account to represent 2 users, it doesn't make sense to do an exchange with yourself. Even if that was possible (I don't know if the protocol allows that), the account would end up the same as it was before (minus fees).
If you have an Stellar account representing more than 1 user you should perform trades inside your own system/software/database, not touching the Stellar network for that. Or you can have one Stellar account for each user.
dzham Hi, I want to create two assets and a wallet. One is the currency that I create and the other one represent USD in that account. I want people to buy and fill the account with USD . The trusline would be AUTHORIZATION REQUIRED. After they could buy my new asset at the free market price with the distributed exchange. I want to stay decentralized as much as I can. After they could send & receive that asset to others but they should not send/receive the USD directly. I can implement this in my wallet but I would like people to use other wallet as well in the future.
Many thanks