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

feat: allow specification of sync wallet #111

Merged
merged 1 commit into from
Jun 10, 2024
Merged

Conversation

joe-p
Copy link
Collaborator

@joe-p joe-p commented Jun 10, 2024

This PR enables the user to specify a seperate wallet for syncing the DID to the chain. This means one walllet can be used to deploy an app and sync multiple DIDs using that app.

It should be noted that this still requires each pubkey to be managed by the local store. It would certainly be useful to also allow creation of DIDs for pubic keys that are NOT managed by the local store, but that is a separate issue. This PR is mainly for simplifying the usage in fully custodial contexts.

  1. Create deployer wallet: algoid wallet create deployer
  2. Deploy app: algoid deploy deployer tesnet
  3. Update app ID in config

For any new user:

  1. Create user wallet: algoid wallet create userN
  2. Create DID for user: algoid create testnet userN
  3. Sync user did with deployer account: algoid sync userN deployer

@ehanoc ehanoc merged commit 161acb1 into main Jun 10, 2024
5 checks passed
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.

2 participants