Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

client/core: discover account via connect instead of register #1201

Merged
merged 1 commit into from Sep 16, 2021

Conversation

chappjc
Copy link
Member

@chappjc chappjc commented Sep 9, 2021

This is a prerequisite for multi-asset registration fee support.

Instead of using the 'register' route to discover an existing account when restoring from an seed, use 'connect' (authDEX). Initially suggested #1015 (comment)

This allows account discovery without having to request a registration address. More importantly, when registration may be done with more than one asset, this avoids having to commit to a certain registration asset in order to discover an existing account. This is because the 'register' route will require an asset ID in a multi-asset registration scheme.

This eliminates the "in-process"/"incomplete" registration field and simplifies some logic in Register.

Copy link
Member

@itswisdomagain itswisdomagain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM. Haven't tested though.

client/core/core.go Show resolved Hide resolved
client/core/core.go Show resolved Hide resolved
client/core/core.go Show resolved Hide resolved
communicate suspended status in connect result
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants