add caip122 spec for eip155 namespace #30
Merged
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.
namespace-identifier: eip155-caip122
title: EVM Namespace - SIWx
author: Haardik (@haardikk21)
discussions-to: TBA
status: Draft
type: Standard
created: 2022-08-19
updated: 2022-08-19
requires: ["CAIP-122", "CAIP-2", "CAIP-10"]
CAIP-122
For context, see the CAIP-122 specification.
Rationale
On Ethereum, EIP-4361 Sign-in with Ethereum already exists, which was the inspiration for CAIP-122. This specification highlights how EIP-4361 conforms with CAIP-122.
Specification
Signing Algorithm
Ethereum uses the ECDSA signing algorithm for signing and verifying messages. Ethereum addresses are derived from the public ECDSA key.
Signature Type
We use the signature type
eip191
andeip1271
when referring to Ethereum Personal Signatures and Contract Signatures respectively, as specified in the EIP-4361 specification.Signature Creation
The abstract data model must be converted into a string representation in an unambigious format. We use the format as defined in EIP-4361.
Signature Verification
We use signature verification techniques from EIP-191 and EIP-1271 as specified as well as any additional steps specified in EIP-4361.
References