Skip to main content

Overview

The CDP SDK is compatible with the eth-account interface to sign messages, hashes, typed data, and transactions.

Signer Examples

You can create a CDP Server Account and wrap it in EvmLocalAccount which is the class that is compatible with eth-account signers. You can call then sign* functions on the resulting account.
main.py

Send Transaction Example

Once you have signed your transaction, you can use web3 to send it. Here’s an example:
main.py