Skip to content

Support external wallets and social logins #461

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

Draft
wants to merge 12 commits into
base: develop
Choose a base branch
from

Conversation

aurelticot
Copy link
Member

No description provided.

- Added ethers as a dependency in both did-document and types packages.
- Updated IDIDDocument interface and DIDDocument class to replace privateKey with Signer in addContext and signProof methods.
- Refactored related methods to utilize Signer for signing operations.
@aurelticot aurelticot self-assigned this Mar 27, 2025
@aurelticot aurelticot linked an issue Mar 27, 2025 that may be closed by this pull request
- Updated StorageLink methods to use Signer instead of private key for signing operations.
- Added ethers as a dependency in storage-link package.
- Cleaned up whitespace and formatting in client.ts to enhance readability.
- Removed unnecessary comments and ensured consistent formatting in test files.
- Updated test files to maintain consistency with the latest code structure.
…tions

- Updated VdaDid and BlockchainApi classes to replace privateKey with Signer for signing operations.
- Modified related methods to ensure consistent use of Signer across the codebase.
- Adjusted test files to reflect changes in the API and maintain compatibility with the new signing approach.
- Replaced instances of the deprecated Wallet class with VeridaDidWallet in create-account and get-account-info commands.
- Updated DIDClient to utilize VeridaDidWallet for managing DID identifiers and signing operations.
- Introduced utility functions for building Verida DID identifiers and added a new VeridaDidWallet class for enhanced wallet management.
- Adjusted tests to reflect changes in the wallet implementation and ensure compatibility with the new structure.
- Introduced SignerAccount class to manage signing operations using ethers' Signer.
- Updated AutoAccount and ContextAccount to extend SignerAccount, streamlining authentication and context management.
- Refactored storage linking and context consent message handling to utilize the new structure.
- Added utility functions for context consent message generation.
- Updated tests to ensure compatibility with the new account management approach and the integration of ethers.
@aurelticot aurelticot requested a review from tahpot March 27, 2025 05:49
- Introduced WalletAccount class to manage wallet operations and integrate with VeridaDidWallet.
- Updated AutoAccount to extend WalletAccount, enhancing authentication and signing capabilities.
- Refactored related configurations and methods to utilize the new WalletAccount structure.
- Added tests for WalletAccount to ensure functionality and compatibility with existing features.
@aurelticot
Copy link
Member Author

On hold for now, see #460 (comment)

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.

Support external wallets and social logins
1 participant