Developers

WalletLogin (signed message)

EIP-712 type WalletLogin: fields, type hash and how each field is built from the request JSON.

On this page

Signed by login_wallet. Step-by-step walkthrough: Signing.

WalletLogin(address signer,uint32 nonce,int64 expiration)

Type hash 0x4451fb6c92ff3fc4a27d19a1cb3287041a7cacdd394d0988eca8af8549ace29b. Domain {name: "GRVT Exchange", version: "0", chainId}.

Fields and where they come from

EIP-712 fieldTypeFrom requestTransform
signeraddressaddressaddress
nonceuint32signature.noncesig.nonce
expirationint64signature.expirationsig.expiration
domain chainIduint256signature.chain_idsig.chainId

Signing test cases

In signing.json, signed by the public test key:

  • wallet_login — Edge wallet login. address must equal signature.signer. Digest 0x1522126e0b0e4534911f1b6f21a6dedad8c88a49c6012937d6101fa155aa6e14.
Sign the example in your browser
esc

↑ ↓ move↵ open⇧↵ open .mdTry an error code like 2002

Keyboard shortcuts

⌘ K
Search the docs
/
Search
l
Next code language (Python → TypeScript → Go → Rust → curl → WebSocket)
j / k
Next / previous page
t
Light / dark theme
?
This help
Esc
Close dialogs and drawers