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 49 commits into
base: master
Choose a base branch
from
Draft

Cross-VM Feature Branch #2076

wants to merge 49 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

🦋 Changeset detected

Latest commit: 6836236

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another 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 25 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]>
* Add UI for storage error

* Use shadow dom

---------

Co-authored-by: Chase Fleming <[email protected]>
chasefleming and others added 16 commits February 11, 2025 16:02
* wip

* Add nonce script

* Add get Nonce

* Remove

* Change

* Run prettier

* Switch to bigint

* Remove and add test

* Remove

* Update tests

* Run prettier

* Fix test

* Move tests

* Run prettier

* Update packages/fcl-ethereum-provider/src/accounts/sign-message.test.ts

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

---------

Co-authored-by: Chase Fleming <[email protected]>
Co-authored-by: Jordan Ribbink <[email protected]>
* Clean prefix handling

* Run prettier

---------

Co-authored-by: Chase Fleming <[email protected]>
* Refactor evm import

* Add type

* Refactor

* Use type

* Cleanup

* Remove

* Run prettier

* Remove space

* Run prettier

---------

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

* Fix disconnected

* Fix error

* Fix

* Update packages/fcl-wagmi-adapter/src/index.ts

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

* Update packages/fcl-wagmi-adapter/src/index.ts

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

* Fix

---------

Co-authored-by: Chase Fleming <[email protected]>
Co-authored-by: Jordan Ribbink <[email protected]>
@jribbink jribbink added the Epic label Feb 21, 2025
github-actions bot and others added 6 commits February 21, 2025 09:57
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Version Packages (cross-vm)

* Switch to v0.0.1 release

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jordan Ribbink <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants