GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Building-Apps / Wallet: add Recovery SEP-30 instructions by acharb · Pull Request #261 · stellar/stellar-docs

Conversation

@acharb

@acharb acharb commented Oct 30, 2023 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

ticket

Adds instructions for using the sep-30 recovery code in the wallet-sdk

moved a lot of the same instruction over from the kotlin sdk wallet guide

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
acharb added 2 commits October 30, 2023 15:38
@acharb
add ts recovery page
97ce9a7
@acharb
add kotlin examples
bafc877
@stellar-jenkins

stellar-jenkins commented Oct 30, 2023

Copy link
Copy Markdown

Something went wrong with PR preview build please check

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

acharb
acharb commented Oct 30, 2023
View reviewed changes
Comment thread docs/building-apps/wallet/sep30.mdx Resolved

Uh oh!

There was an error while loading. Please reload this page.

@acharb
acharb requested review from CassioMG, ifropc and piyalbasu October 30, 2023 20:05
@acharb
trigger preview rebuild
89cd5a4
@stellar-jenkins

stellar-jenkins commented Oct 30, 2023

Copy link
Copy Markdown

Preview is available here:
http://developers-pr261.previews.kube001.services.stellar-ops.com

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

ifropc
ifropc reviewed Oct 30, 2023
View reviewed changes

@ifropc ifropc left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

LGTM except 1 comment

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread docs/building-apps/wallet/sep30.mdx Outdated

</CodeExample>

Next, we need to define SEP-30 identities. In this example we are going to use the same identity on both recovery servers.

@ifropc ifropc Oct 30, 2023

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Do you mind adding one more identity for the second server, using email? (just for clarity and because using same identity on both servers is an anti-pattern)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@acharb acharb Oct 30, 2023 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

like this? 85e9958

when I tried setting the identity with just email like this:

const identity2 = {
  role: RecoveryRole.OWNER,
  authMethods: [
    {
      type: RecoveryType.EMAIL,
      value: "[email protected]",
    },
  ],
};

I was getting a 404 with the recovery server when it gets to requesting a signature. From my understanding the recovery server identifies the account from the recoveryKey in the authToken right? Do you know how it should work when the identity is email only?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@acharb
use two identities
85e9958
@stellar-jenkins

stellar-jenkins commented Oct 30, 2023

Copy link
Copy Markdown

Preview is available here:
http://developers-pr261.previews.kube001.services.stellar-ops.com

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@acharb
acharb requested a review from ifropc October 31, 2023 15:38
ifropc
ifropc approved these changes Oct 31, 2023
View reviewed changes
@acharb
acharb merged commit 3146713 into main Oct 31, 2023
@acharb
acharb deleted the acharb-recovery branch October 31, 2023 16:48
ElliotFriend pushed a commit that referenced this pull request Mar 25, 2024
@sisuresh
Merge pull request #261 from sisuresh/fix-token-terminology
88cae60
Update outdated token terminology
This was referenced Nov 20, 2026
Say that RPC and Horizon run behind a reverse proxy or load balancer #3167
Merged
Horizon prerequisites: name the version that removes --tls-cert and --tls-key #3191
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@piyalbasu piyalbasu Awaiting requested review from piyalbasu
@CassioMG CassioMG Awaiting requested review from CassioMG
1 more reviewer
@ifropc ifropc ifropc approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@acharb @stellar-jenkins @ifropc
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.