5

If someone issues an asset from an account where AUTHORIZATION_REQUIRED is set to True, how does a new account wishing to hold that asset initialize getting the trustline setup?

Is it up to the owner of the new account to contact that issuer and prove they own the address in question and then the issuer creates the trustline on their end?

1

The issuer/anchor will have to figure out a process for that, and it can vary significantly depending on their compliance process.

For example, an anchor may require a customer to register on their website providing KYC information (along with their stellar address), and if everything checks out, they'd execute the Allow Trust operation on the address.

With Lumen you can do this:

$ lumen flags BankOfCanada auth_required

# Bob creates a new trustline to CAD.
$ lumen trust create bob CAD:BankOfCanada 1000

# Bank-of-canada authorizes it.
$ lumen trust allow bob CAD:BankOfCanada --signers BankOfCanada

You can read more about this here.

| improve this answer | |
  • Ok, so technically anyone in the network can request a trustline to any asset on the network and the request is stored on the ledger? If so, does BankOfCanada see all pending requests attached to their account or do they need to scan for accounts that have a trustline created but still not authorized? – Ross Bates Mar 27 '18 at 22:09
0

well, although it's been a while but since I'm just crossing the same situation worth noting that an Authority of an [Asset] (Issuer/Distributor) or any other [Account] the holds an amount of the so-called [Custom Asset] with "AUTHORIZATION_REQUIRED is set to True" needs to retrieve a list of [Pending Trustlines] and verify them based on it's own specifications, then Authorize/Disauthorize their [Trustline] by sending an [AllowTrust] Operation to the Network. (Retrieving the list of [Pending Trustlines] is my current challenge though).

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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