What Is a Signing Request?
Besides asking you to approve transactions, a connected dApp can ask you to sign something. Signing proves that you control your account. Unlike a transaction, a signature isn’t sent to the network and doesn’t cost a network fee.
That doesn’t mean every signature is harmless. On Ethereum and other EVM networks, there are two kinds of signing request, and they carry very different risks.
| Kind | What it’s usually for | Risk |
|---|---|---|
| Message | Logging in to a dApp, proving you own an address | Low, as long as you can read it and it’s what you expect |
| Typed data | Orders, permits and other actions a dApp carries out for you later | Can move your tokens |
💡 If you’re new to connecting Pera to dApps, start with Connecting to Ethereum and EVM dApps.
Signing a Message
A message is plain text, such as “Sign in to Example.xyz. Nonce: 4821”. dApps use messages to log you in without a password.
When a dApp sends one, Pera opens a Data Signing Request that shows:
- The account you’re signing with
- Data to be signed: the message itself
Read the message. If it makes sense and you started the action on the dApp, slide Slide To Confirm. If not, tap Cancel.
If the message isn’t readable text, Pera shows it as raw characters (hexadecimal) with the warning Data is not readable text. You can’t tell what you’re signing in that case, so only approve if you trust the dApp.
Signing Typed Data
Typed data is a structured message with named fields, like a small form. dApps use it for things they’ll act on later: placing an order on an exchange, listing an NFT for sale, or giving a contract permission to use your tokens.
Because a typed-data signature can authorize actions after you’ve signed, Pera shows this warning:
This signature can move your tokens Signing structured data can authorize an app to spend or trade your tokens without asking you again. Only approve if you trust this application.
Permits: approvals you sign
A common kind of typed data is a permit. A permit gives another address permission to move your tokens, just like an approval transaction, but without a network fee.
When Pera recognizes a permit, it shows it as an approval instead of raw data. You’ll see the Spender, the amount (or Unlimited) and a Deadline, with warnings if the permission lasts more than a year or never expires. For an NFT, Pera shows the collection and item.
Treat a permit exactly like an approval transaction. See Token Approvals and Unlimited Spending.
Requests Pera Declines
Some older signing methods let a dApp hide what you’re signing. Pera doesn’t support them and declines them automatically, without showing you a request:
eth_sign, which signs raw data that can be a hidden transaction- Older versions of typed data. Pera supports the current version (v4) only
The dApp is told the request was declined, and nothing is signed. If a dApp only offers one of these methods, try another way to log in or use another dApp.
Pera also blocks a signature that names an address on a public list of addresses used to steal funds. You’ll see Pera won’t sign this request, and the only option is to reject it.
Before You Sign
Ask yourself:
- Did I just do something on the dApp that needs a signature? A request you didn’t expect is a red flag.
- Is this the right site? Check the site name Pera shows with the request.
- Can I read it? If it’s unreadable, or it’s typed data you don’t understand, cancel.
Remember:
- A signature costs nothing, but it can still give away control of your tokens.
- Pera never asks for your recovery passphrase to sign anything. A site that does is a scam.
- Pera can’t undo a signature once you’ve given it.
For more information please consult:
