-
Notifications
You must be signed in to change notification settings - Fork 540
feat: add OneKey wallet #1739
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
feat: add OneKey wallet #1739
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
@ByteZhang1024 We are planning to introduce a new feature that enables the inclusion of a URL as part of the injected module. The intention behind this is to obviate the necessity of a separate module for routing users without installed wallets in the case of injected wallets. This will help immensely with Blocknative's upkeep and standardize usage for injected wallets without requiring dapp devs to install separate packages for this feature. Early next week, I will provide updates concerning the method and schedule for accommodating the webpage within the injected module. Thank you! |
|
@ByteZhang1024 we have a PR just merged that adds a feature to easily add this ability without creating/maintaining a new module just for adding the ability to install a wallet that is currently installed. This approach will also be a lighter lift on the dapp developer as they will not need to install any new packages or keep those packages up to date for consistent behavior and only need to add the wallet label to the displayUnavailable prop array on injected module initialization. This is the PR - #1754 |
|
@Adamj1232 Is it OK to write docs like this. |
|
@ByteZhang1024 as your wallet is not a separate module we can remove the separate pages and OneKey can be added to the list here - https://github.com/blocknative/web3-onboard/blob/develop/docs/src/routes/docs/%5B...4%5Dwallets/%5B...9%5Dinjected/%2Bpage.md#injected-wallets-supported-natively |
|
@Adamj1232 done |
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.
Nice work! Thanks for the collaboration!
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.
Please bump the version on this line within the injected package.json to 2.10.1-alpha.1
Took care of this and committed the updated version. |
|
New and updated dependency changes detected. Learn more about Socket for GitHub ↗︎
Footnotes |
* update Google Analytics Script (#1770) * feat: add OneKey wallet (#1739) * feat: Support OneKey wallet * fix: OneKey docs * Update injected package.json version * Update demo package.json --------- Co-authored-by: Adam Carpenter <[email protected]> * Fix: Connect view on safari mobile & Remove unnecessary validation check for autoSelect (#1773) * working as expected * Bump versions * Remove testing css * Remove testing code from demo * feat: add blocto wallet (#1699) * Release 2.24.1 (develop) (#1776) * Release 2.24.1 (docs) (#1778) * Update +page.md (#1775) * Feature- update appMetadata (#1779) * update versions * Upgrade wallet connect v2 packages (#1788) --------- Co-authored-by: Adam Carpenter <[email protected]> Co-authored-by: ByteZhang <[email protected]> Co-authored-by: jimmy.pan <[email protected]> Co-authored-by: vanes <[email protected]>
* update Google Analytics Script (#1770) * feat: add OneKey wallet (#1739) * feat: Support OneKey wallet * fix: OneKey docs * Update injected package.json version * Update demo package.json --------- Co-authored-by: Adam Carpenter <[email protected]> * Fix: Connect view on safari mobile & Remove unnecessary validation check for autoSelect (#1773) * working as expected * Bump versions * Remove testing css * Remove testing code from demo * feat: add blocto wallet (#1699) * Release 2.24.1 (develop) (#1776) * Release 2.24.1 (#1777) * Update +page.md (#1775) * Feature- update appMetadata (#1779) * update versions * Upgrade wallet connect v2 packages (#1788) --------- Co-authored-by: Adam Carpenter <[email protected]> Co-authored-by: ByteZhang <[email protected]> Co-authored-by: jimmy.pan <[email protected]> Co-authored-by: vanes <[email protected]>
Description
Add OneKey wallet support
PLEASE NOTE- Checklist must be complete prior to review.
Checklist
package.jsonof the package you have made changes in following semantic versioning and using alpha release taggingyarn check-allto confirm there are not any associated errorsDocs Checklist
docs/package.jsonfile (if applicable)If 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 (injected)
Tests with demo app (SDK)