กำลังพลิกหน้า
กำลังเปิดบทถัดไป…
นี่… ปรับการอ่านให้เป็นแบบคุณสิ
ฟอนต์และธีมอยู่ใน รูปลักษณ์ เลือกสิ่งที่สบายตาสำหรับคุณ
กำลังเปิดบทถัดไป…
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.