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

Limited access key support for mintbase wallet #1085

Merged
merged 14 commits into from
Mar 21, 2024
Merged

Conversation

SurgeCode
Copy link
Contributor

@SurgeCode SurgeCode commented Mar 19, 2024

Added optional support for limited access keys on mintbase wallet.

If you provide a contractId in setup a limited access key will be generated that can be used through the standardised API otherwise It wont be created which offers smoother onboarding for cases where it isn't necessary

Checklist:

  • I have performed a self-review of my own code

  • I have commented my code, particularly in hard-to-understand areas

  • I have made corresponding changes to the documentation

  • My changes generate no new warnings

@vikpande
Copy link

@kujtimprenkuSQA , can you please check and fix this one. @trechriron , can you pls assist to expedite this.

Copy link
Collaborator

@kujtimprenkuSQA kujtimprenkuSQA left a comment

Choose a reason for hiding this comment

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

Hi, @vikpande I no longer have access on the repo but I am reviewing it nevertheless.

The support for limited access key works fine.

  • One thing I noticed when signing transactions that require confirmation on the wallet I am not being redirected back to the dApp.

packages/mintbase-wallet/package.json Outdated Show resolved Hide resolved
Downgrade near-api-js to ^2.1.3

Revert "Downgrade near-api-js to ^2.1.3"

This reverts commit f0590fe.

Downgraded mintbase wallet to ^2.1.3

Yarn.lock
@kujtimprenkuSQA
Copy link
Collaborator

@SurgeCode could you check the failed GH-Actions.

@SurgeCode
Copy link
Contributor Author

SurgeCode commented Mar 21, 2024

@SurgeCode could you check the failed GH-Actions.

Was having some problems generating the lock, should be good now @kujtimprenkuSQA 👍

@kujtimprenkuSQA
Copy link
Collaborator

kujtimprenkuSQA commented Mar 21, 2024

@SurgeCode unfortunately yarn.lock has some unnecessary changes for some reason maybe a mismatch of the yarn version wallet-selector uses and the one installed on your PC.

Do you mind if I create a copy of your PR and close this one (or you can try to fix them on your end)?

@trechriron
Copy link
Collaborator

@kujtimprenkuSQA @SurgeCode - let's fix the yarn file and and update this branch...

@rubenmarcus
Copy link
Contributor

rubenmarcus commented Mar 21, 2024

@kujtimprenkuSQA @trechriron tests passed now with lock file from @kujtimprenkuSQA

@kujtimprenkuSQA
Copy link
Collaborator

@trechriron the PR looks good to me feel free to approve and merge.

trechriron
trechriron previously approved these changes Mar 21, 2024
Copy link
Collaborator

@trechriron trechriron left a comment

Choose a reason for hiding this comment

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

Looks good.

@trechriron trechriron changed the base branch from main to dev March 21, 2024 20:41
@trechriron trechriron dismissed their stale review March 21, 2024 20:41

The base branch was changed.

Copy link
Collaborator

@trechriron trechriron left a comment

Choose a reason for hiding this comment

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

reviewed by kujtim. Merging to dev for testing.

@trechriron trechriron merged commit eee3830 into near:dev Mar 21, 2024
11 checks passed
@trechriron trechriron mentioned this pull request Mar 27, 2024
11 tasks
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.

6 participants