4

The documentation on "Become an anchor>Architecture" says the first option is "Maintain a Stellar account for each customer. When a customer deposits money with your institution, you should pay an equivalent amount of your custom asset into the customer’s Stellar account from your base account. When a customer needs to obtain physical currency from you, deduct the equivalent amount of your custom asset from their Stellar account."

I'm baffled as to how I can take money from a customer's account. Are the asset anchors able to arbitrarily DB any stellar account holding that asset? if not, what does the last sentence mean?

1 Answer 1

3

In the case that you're referring to, the anchor is expected to (as the doc says) "maintain a Stellar account for each customer", i.e. a managed wallet where the anchor controls the private keys. (This is standard practice for crypto exchanges).

Given that the anchor controls the account's private keys, they are free to debit the user's managed Stellar account when they request to redeem the Asset.

2
  • That's how I read it. The anchor creates and owns an account per customer. It's not the customer's account to control directly.
    – Synesso
    Commented Sep 1, 2018 at 3:55
  • OK, I see. It is confusing because most anchors are going to let a user use his own account which isn't even listed as an option! So this section is written for anchors who need to control distribution of their asset using a private key per account or a single account. I think it would be a LOT less confusing if they listed the most common case first (user controlled). What do you think? Commented Sep 2, 2018 at 3:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.