A Turnkey Viem account can create the EIP-191 signature for the default EVM
ECDSA enrollment path.
Create the Viem account
Configure Turnkey authentication and stamping for the security model of your
application.
Prepare and sign enrollment
On your backend, call POST /v2/enroll/signature:
Sign the raw payload:
Complete enrollment
Send the unchanged stage-1 fields and the signature from your backend:
The B2B API returns the chain-bound smart accounts for the portfolio. Use the
Turnkey wallet client to fund these accounts. The B2B API does not have a
deposit-builder route. See Fund a portfolio.
Keep the Glider API key and the Turnkey credentials on trusted systems. Do not
put these secrets in public client code.