-
Notifications
You must be signed in to change notification settings - Fork 541
Add Infinity Wallet Connector #1540
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
@arons1 thanks for the PR! We will take a look at this in the next couple days |
| checkProviderIdentity: ({ provider }) => | ||
| !!provider && !!provider[ProviderIdentityFlag.InfinityWallet], | ||
| getIcon: async () => (await import('./icons/infinitywallet.js')).default, | ||
| getInterface: getInjectedInterface(ProviderIdentityFlag.InfinityWallet), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Has this been tested through the injected package without the sdk added within the local demo project?
I saw it was removed from the PR checklist.
Sometimes getInjectedInterface is not the correct method and createEIP1193Provider is better suited depending on the wallet
Adamj1232
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good! Thank you again for the PR!
A few changes requested noted in the comments.
You will also want to add Infinity to the docs site that is part of this repo.
Checkout this PR for an example of adding to the docs site.
You will need to use yarn link to ensure the module works within the docs site.
Adamj1232
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR!
* update root path (#1543) * Add XDEFI module and injected to docs site (#1544) * Add xdefi to docs * Add xdefi module to docs * Add xdefi package to docs onboard * Add to injected wallets list * Feature: "I don't have a wallet" flow + Progress-bar fixup (#1535) * Link working and styled * Progress bar work * Cleanup progressbar code * Remove single quote breaking view * Revert TP testing code * add transaction preview graphic * add transaction preview install code snippet * move md code snippets - update imports * add transaction preview section to landing page * update theming code snippet * update hero section install code * update account center graphic * update hero w3o graphic * update account center svg * Update README.md (#1547) Yeah maybe this needs more thorough changes throughout the docs but I was caught up on this for a minute, and this will help * move transaction preview section to top * update link url * Added XDEFI to readme * Add theming docs, refine core init options, api actions and code chunks (#1548) * Add theming docs, still needs refinement * More docs * Add theming video * More docs * Update layout and add copy to some code chunks * Add dividers for better visibility between options and copy to code blocks where useful * Reorder Theming docs layout * Add note about ethers v6 usage * edit theming page - add css variables table - edit theme descriptions - re-org existing content * Update docs/src/lib/components/examples/connect-wallet/ReactConnectWallet.md * Update theming tool to default to custom --------- Co-authored-by: Gustavo Esquinca <[email protected]> * Update docs/src/lib/components/code-snippet/theming-code.md Co-authored-by: Adam Carpenter <[email protected]> * Bump versions for release * Add Infinity Wallet Connector (#1540) * Add Infinity Wallet Connector * Update packages/infinity-wallet/package.json * Update packages/infinity-wallet/src/index.ts * Remove yarn lock from infin package * Update packages/demo/package.json * Add inifinity to docs * Reorder wallets * Update docs title * Bump innjected package version --------- Co-authored-by: Adam Carpenter <[email protected]> * [walletconnect-2.3.0-alpha.3] - Feat: Walletconnect URI handler + bump wc package version (#1552) * accept handleUri prop * Update docs * Rename wc prop to handleUri * Bump wc pakcage version for walletconnect/ethereum-provider * merge in dev * Revert unintended change * Update prop in docs * Cleanup semicolon * Yarn it! * Bump undici from 5.10.0 to 5.19.1 in /examples/with-sveltekit (#1532) Bumps [undici](https://github.com/nodejs/undici) from 5.10.0 to 5.19.1. - [Release notes](https://github.com/nodejs/undici/releases) - [Commits](nodejs/undici@v5.10.0...v5.19.1) --- updated-dependencies: - dependency-name: undici dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Adam Carpenter <[email protected]> * Update fortmatic docs --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Taylor Dawson <[email protected]> Co-authored-by: Gustavo Esquinca <[email protected]> Co-authored-by: Brent <[email protected]> Co-authored-by: mhchaudhry3 <[email protected]> Co-authored-by: mhchaudhry3 <[email protected]> Co-authored-by: Aaron <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
@arons1 we are seeing an issue with the Infinity Wallet when used within svelte-kit and have had to temporarily remove it from our docs site. Do you have insight into build configurations for the connector? |
Description
Added Infinity Web3 Browser connector and added as an option in the web3 onboard modal.
Checklist
package.jsonof the package you have made changes in is incremented following semantic versioning and using alpha release taggingyarn file-check,yarn type-check&yarn buildto confirm there are not any associated errorsIf this PR includes changes to add an injected wallet or SDK wallet module:
Please complete the following using the internal demo package.
To run this demo use the command
yarn && yarn devto get the project running athttp://localhost:8080/Tests with demo app (SDK)