Skip to main content

Overview

Raw signing allows you to sign arbitrary data with your MPC wallet, giving you full control over the message format and hashing process. This is useful for custom signing scenarios, non-standard message formats, or when you need to implement chain-specific signing requirements. Note that raw signing is currently only available for EVM chains.

Connector Types

Dynamic provides different connectors depending on the signing algorithm you need:

EVM Connector (ECDSA Signing)

Use the EVM connector for ECDSA-based signing, which is used by Ethereum, Bitcoin, and most other blockchains:

Basic Raw Signing

Here’s how to sign a raw message using Dynamic’s MPC wallets with the EVM connector:

Encoding Options

Dynamic supports different encoding formats for your raw messages:

Hexadecimal Encoding

Most common for blockchain applications. The message is encoded as a hex string.

UTF-8 Text Encoding

For plain text messages that don’t require hex encoding.

Hash Functions

Different hash functions serve different purposes in cryptographic signing:

Keccak256 (Ethereum Standard)

Most commonly used for Ethereum and EVM-compatible chains:

SHA256

Standard cryptographic hash function:

Advanced Examples

Custom Message Formatting

For chains with specific message formatting requirements:

Binary Data Signing

For signing binary data or structured payloads: