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

Implement MagicAptosWallet #529

Merged
merged 19 commits into from
May 31, 2023

Conversation

octave08
Copy link
Contributor

@octave08 octave08 commented May 30, 2023

πŸ“¦ Pull Request

[Provide a general summary of the pull request here.]

  • implement MagicAptosWallet
  • Add support for aptos-adapter-react

βœ… Fixed Issues

🚨 Test instructions

[Describe any additional context required to test the PR/feature/bug fix.]

⚠️ Don't forget to add a semver label!

Please only add one label:

  • patch: Bug Fix?
  • minor: New Feature?
  • major: Breaking Change?
  • skip-release: It's unnecessary to publish this change.

@shortcut-integration
Copy link

This pull request has been linked to Shortcut Story #78656: [aptos] implement MagicAptosWallet.

@octave08 octave08 force-pushed the jayhwang-sc-78656-aptos-implement-magicaptoswallet branch from 3a4af64 to 9ddc5c3 Compare May 30, 2023 16:21
@octave08 octave08 marked this pull request as ready for review May 30, 2023 16:22
@octave08 octave08 force-pushed the jayhwang-sc-78656-aptos-implement-magicaptoswallet branch 2 times, most recently from 87149ef to b4b9ec8 Compare May 30, 2023 20:28
@octave08 octave08 force-pushed the jayhwang-sc-78656-aptos-implement-magicaptoswallet branch from b4b9ec8 to dc59435 Compare May 30, 2023 20:30
@octave08 octave08 added the minor Increment the minor version when merged label May 30, 2023
@octave08 octave08 force-pushed the jayhwang-sc-78656-aptos-implement-magicaptoswallet branch from 6636206 to 1014638 Compare May 30, 2023 20:59
readonly url = 'https://magic.link/';
readonly icon = ICON_BASE64;

readonly providerName = 'magicWallet';
Copy link

Choose a reason for hiding this comment

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

can we change this to "magicWalletMA" (just in case we have to do something else for MC later)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nice catch.
fixed it a35b6b1

provider: Magic<[AptosExtension]>;
private accountInfo: AccountInfo | null;

constructor(magic: Magic<[AptosExtension]>) {
Copy link

Choose a reason for hiding this comment

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

i think email should be passed in here, instead of us creating a different "connectWithMagicLink" function

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sounds good :)
fixed it. a35b6b1

karljin
karljin previously approved these changes May 30, 2023
@octave08 octave08 changed the title Implement MagicAptosWallet (DO NOT MERGE) Implement MagicAptosWallet May 31, 2023
@octave08 octave08 changed the title (DO NOT MERGE) Implement MagicAptosWallet Implement MagicAptosWallet May 31, 2023
@octave08 octave08 merged commit 13065c3 into master May 31, 2023
@octave08 octave08 deleted the jayhwang-sc-78656-aptos-implement-magicaptoswallet branch May 31, 2023 21:52
@octave08 octave08 self-assigned this Jun 2, 2023
@magiclabsFE
Copy link

πŸš€ PR was released in @magic-ext/[email protected] πŸš€

@magiclabsFE magiclabsFE added the released This issue/pull request has been released. label Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor Increment the minor version when merged released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants