در حال ورق زدن.
فصل بعدی را باز میکنیم…
هیس… مطالعه را برای خودتان تنظیم کنید.
قلمها و پوستهها در ظاهر هستند. چشمهای شما هم حق انتخاب دارند.
فصل بعدی را باز میکنیم…
Binding a cryptographic message to a specific application, protocol, network, or purpose so that matching data is not confused across contexts.
در حال بررسی پشتیبانی مرورگر از خواندن با صدا…
این مطلب فعلاً به انگلیسی موجود است. رابط کاربری از زبان انتخابی شما استفاده میکند.
خواندن اصل انگلیسی ←A signature authorizes a particular encoded message, but applications need to agree on what that message means. Domain separation adds context before hashing or signing. In EIP-712, the signing domain can include an application name, version, chain identifier, and verifying contract. Two services can use the same order fields without treating each other's signatures as interchangeable, provided they choose and validate appropriate domains.
Imagine two trading applications both asking a user to sign an order for ten tokens. The order fields alone do not explain which application is allowed to execute it. Including the intended contract and network in the domain narrows that authority. A version field can also distinguish an upgraded format from an older one. Wallets can display these fields, allowing a person to compare the requested authorization with the application they intended to use.
Domain separation does not automatically make an authorization single-use. The same valid order may still be submitted repeatedly within its intended domain unless the application checks a nonce, records fills, enforces a deadline, or otherwise consumes the permission. EIP-712 explicitly does not provide replay protection by itself. A useful review therefore asks two separate questions: where is this signature valid, and what prevents it from being exercised more times than the signer intended?