페이지를 넘기고 있습니다.
다음 장을 불러오고 있습니다…
잠깐… 나만의 읽기 환경을 만들어 보세요.
글꼴과 테마는 화면 설정에서 설정하세요. 눈의 편안함도 중요합니다.
다음 장을 불러오고 있습니다…
An Ethereum interface allowing a smart contract account to report whether it considers a given message signature valid.
브라우저의 읽어주기 지원을 확인하는 중…
이 읽기 자료는 현재 영어로 제공됩니다. 인터페이스에는 선택한 언어가 적용됩니다.
영어 원문 읽기 →A conventional externally owned account is associated with a signing key. A smart contract wallet can instead require several signers, enforce a time window, or apply another policy. ERC-1271 gives applications a standard function to query that contract's decision about a message hash and signature. This allows an exchange, login service, or other application to support contract wallets without assuming every user can be verified through ordinary single-key signature recovery.
Imagine a treasury wallet requiring two of three authorized people to approve an order. Its ERC-1271 implementation can examine the supplied signature package and return the standard success value only when its policy is satisfied. The application consuming the order must actually call and correctly interpret that interface. Merely storing a wallet address as the order's signer does not establish that the required approvals were obtained or that the message described the intended trade.
Contract signature validity can depend on current state, such as the wallet's current owner set. A signature accepted yesterday may fail after an owner rotation, and an implementation bug can incorrectly accept unauthorized messages. ERC-1271 standardizes the verification interface, not the wallet's entire security policy. Applications also need appropriate message encoding, domain separation, expiration, and replay handling. These layers should be reviewed together when a wallet is described as supporting smart-account signatures.