ARC-TBD: Algo X EVM Accounts#375
Open
tasosbit wants to merge 2 commits intoalgorandfoundation:mainfrom
Open
Conversation
59c9edd to
2a895d3
Compare
2a895d3 to
973a222
Compare
Contributor
Author
|
The implementation repo is here. Some discussions have been started in the repo discussions board to keep things thematically grouped, as the flat discussions view in popular arcs can get very noisy. we can sync conclusions at a later stage. EIP-712 Chain ID: Singular or per-network? Impacts generated addresses |
Updated author username format in the document.
Contributor
Author
|
Opened a request to register chain ID 4160. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A LogicSig standard enabling EVM wallets to control Algorand accounts via EIP-712 signed ECDSA secp256k1 signature verification.
Abstract
This ARC specifies a LogicSig-based standard that allows any Ethereum (EVM) wallet address to control an Algorand account without requiring the user to manage a separate Algorand private key. A deterministic LogicSig program is compiled per EVM address by substituting the 20-byte Ethereum address as a template variable. To authorize an Algorand transaction, the EVM wallet signs the transaction ID (or atomic group ID) using EIP-712 typed structured data. The LogicSig verifies the ECDSA (secp256k1) signature on-chain using the AVM's native
ecdsa_pk_recoverandkeccak256opcodes, and approves the transaction if and only if the recovered Ethereum address matches the template owner. This approach requires no changes to the Algorand protocol and enables users of MetaMask and other EVM wallets to interact with Algorand dApps using their existing credentials.