Skip to main content

Ethereum (EVM) support on Turnkey

Address derivation

Turnkey supports EVM address derivation with ADDRESS_TYPE_ETHEREUM. This address format is valid across all EVM chains and L2s.

Transaction construction and signing

To construct and sign an EVM transaction with Turnkey, we offer:

Transaction parsing, policies, and signing

Turnkey has built an EVM parser which runs in a secure enclave, to parse unsigned EVM transactions and extract useful metadata: transaction source, destination, amount, chain ID, and more. See the EthereumTransaction struct in our policy language page for a full list.

As a bonus, Turnkey also takes care of combining the signature with the original payload if you use the SIGN_TRANSACTION activity types: the input is the unsigned payload (RLP encoded), and the output is the signed RLP encoded transaction, ready to be broadcast!

Account abstraction

Turnkey is built to be flexible: a lot of our customers use Turnkey as a smart contract signer, alongside other types of signers.

This is so common that AA wallet providers have integrated Turnkey as a default solution in their documentation. Refer to our AA Wallet documentation for further information.

EIP-1193 provider

We've published an experimental @turnkey/eip-1193-provider package, which adheres to the EIP-1193 standard. It's built to integrate seamlessly with a broad spectrum of EVM-compatible chains, offering capabilities like account management, transaction signing, and blockchain interaction.

Wallet signer

Did you know? Turnkey activities can be signed with an API key, a passkey...or any Ethereum wallet if you use our @turnkey/wallet-stamper package!

Examples and demos

A lot of our demos use EVM chains and capabilities. The most complete demo is our Demo Embedded wallet, a fully-functional, hosted wallet which showcases (among other things) send and receive functionality on Sepolia.

Try it out at wallet.tx.xyz!

The code behind this demo is open-source, available at https://github.com/tkhq/demo-embedded-wallet/

If you're looking for shorter, more focused examples, here are a few worth checking out:

Which EVM chains does Turnkey support?

Turnkey supports the EVM chains below for address derivation and signing arbitrary transactions:

  • Arbitrum
  • Aurora
  • Avalanche C chain
  • Avalanche Fuji
  • Base
  • Base
  • Berachain
  • BNB Smart Chain
  • Celo
  • Chiliz
  • Cronos
  • EON
  • Ethereum
  • Fantom
  • Gnosis
  • Holesky Redstone
  • Holesky Garnet
  • Lukso
  • Linea
  • Moonbeam
  • Optimism
  • Palm
  • Polygon
  • Redstone
  • Scroll
  • Zora
  • zkSync
  • Zora

If you are using an EVM chain we do not support, feel free to contact us at hello@turnkey.com, on X, or on Slack.