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

Cross-VM Feature Branch #2076

Draft
wants to merge 25 commits into
base: master
Choose a base branch
from
Draft

Cross-VM Feature Branch #2076

wants to merge 25 commits into from

Conversation

jribbink
Copy link
Contributor

@jribbink jribbink commented Jan 27, 2025

Related to #2053

Copy link

changeset-bot bot commented Jan 27, 2025

⚠️ No Changeset found

Latest commit: aa0a5a3

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@jribbink jribbink changed the title Create FCL Ethereum Provider Boilerplace Cross-VM Feature Branch Jan 27, 2025
jribbink and others added 23 commits January 27, 2025 10:51
* Setup eth accounts handler

* Run prettier

---------

Co-authored-by: Chase Fleming <[email protected]>
* Implement eth_requestAccounts

* Add handler code

* Pass account manager and use

* Set coa address

* Move coa fetcher

* Remove comment

* Only check if changed

* Stop race conditions

* Fix types and update address

* Add basic tests

* Fix

* Use mock user

* Add test

* Add more tests

* Add test

* Add test

* Add test

* Add test

* Add test

* Add tests

* Import

* Fix prettier

* Fix prettier

---------

Co-authored-by: Chase Fleming <[email protected]>
* Add sign message

* Update packages/fcl-ethereum-provider/src/accounts/account-manager.ts

Co-authored-by: Jordan Ribbink <[email protected]>

* Push fix

* Remove comment

* Update packages/fcl-ethereum-provider/src/rpc/handlers/personal-sign.ts

Co-authored-by: Jordan Ribbink <[email protected]>

* Update packages/fcl-ethereum-provider/src/accounts/account-manager.ts

Co-authored-by: Jordan Ribbink <[email protected]>

* Update packages/fcl-ethereum-provider/src/rpc/handlers/personal-sign.ts

Co-authored-by: Jordan Ribbink <[email protected]>

* Check auth with coa address

* Add tests

* Fix params and prettier

* Run prettier

* Use RLP

* Change path

* hex array

* Fix RLP test

* Run prettier

---------

Co-authored-by: Chase Fleming <[email protected]>
Co-authored-by: Jordan Ribbink <[email protected]>
* Add eth signed typed data

* Fix

* Run prettier

* Add tests

* Run prettier

* Remove comment

* Match hashing closer to spec

* Use util

* Fix tests

* Run prettier

* Remove legacy support

* Update packages/fcl-ethereum-provider/src/hash-utils.ts

Co-authored-by: Jordan Ribbink <[email protected]>

* Fix test

---------

Co-authored-by: Chase Fleming <[email protected]>
Co-authored-by: Jordan Ribbink <[email protected]>
* Add noop for add eth chain

* Run prettier

---------

Co-authored-by: Chase Fleming <[email protected]>
* Add typed params for wallet_addEthereumChain

* Run prettier

---------

Co-authored-by: Chase Fleming <[email protected]>
* Implement wallet_switchEthereumChain

* Run prettier

---------

Co-authored-by: Chase Fleming <[email protected]>
* Move to account manager

* Setup disconnect

* Run prettier

* Fix test

* Remove import

* Push fix

* Push fix

---------

Co-authored-by: Chase Fleming <[email protected]>
* Create COA on request accounts

* Add tests

* Fix test

* Remove

* Update test

* Refactor

* Add events

* Fix tests

* Run prettier

* Fix

* Move tx

* Move cadence

---------

Co-authored-by: Chase Fleming <[email protected]>
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.

2 participants