Skip to content

Conversation

@itsmnthn
Copy link
Contributor

@itsmnthn itsmnthn commented Jul 22, 2022

Description

Adding Core(Avalanche Core) wallet support in inject wallet

Checklist

  • The version field in package.json is incremented following semantic versioning
  • The box that allows repo maintainers to update this PR is checked
  • I tested locally to make sure this feature/fix works
  • I have run yarn type-check & yarn build to confirm there are not any associated errors
  • This PR passes the Circle CI checks

@mahmud-bn
Copy link
Contributor

Thanks for this @itsmnthn. We will review this and get it merged.

@Adamj1232 Adamj1232 self-requested a review July 25, 2022 17:44
@Adamj1232
Copy link
Contributor

@itsmnthn does this PR work on your end? I am not able to get it to work from your fork

@itsmnthn itsmnthn force-pushed the v2-web3-onboard-develop branch from 8757a5a to 9ea201c Compare July 26, 2022 11:37
!!provider && !!provider[ProviderIdentityFlag.Core],
getIcon: async () => (await import('./icons/core.js')).default,
getInterface: async () => ({
provider: createEIP1193Provider(window.avalanche)
Copy link
Contributor

Choose a reason for hiding this comment

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

@itsmnthn there will need to be more work done around this provider as it does not follow the 1193 standard
Upon approving a a site the provider doesnt send the proper response is one problem I see initially

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I faced the same problem it happens one time initially. But I think it will be fixed since they are still developing. But I'll ask devs about this and other issues I faced in terms of UX. Hope to get it fixed soon.

@itsmnthn
Copy link
Contributor Author

@itsmnthn does this PR work on your end? I am not able to get it to work from your fork

I've tried adding custom wallet when initializing onboard check this project https://github.com/itsmnthn/nuxt3-web3-onboard-mvp

@Adamj1232
Copy link
Contributor

@itsmnthn we have reached out to AvaLabs to get the issues with the wallet provider resolved

@Adamj1232
Copy link
Contributor

Closing as Core wallet support has been merged with #1259 and is available with injected-wallet package version 2.2.2-alpha.1

@Adamj1232 Adamj1232 closed this Sep 9, 2022
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.

3 participants