sign-evm-message

Installation
SKILL.md

Sign EVM Messages with MetaMask Connect

When to use

Use this skill when:

  • Signing a plaintext message with personal_sign for authentication or verification
  • Signing structured EIP-712 typed data with eth_signTypedData_v4 for permits, orders, or typed messages
  • Using the connectAndSign shortcut to connect and sign in a single user approval
  • Handling signature errors and user rejections

Workflow

Step 1: Get the provider and connected account

Ensure the client is connected before requesting a signature:

import { createEVMClient, getInfuraRpcUrls } from '@metamask/connect-evm';
Installs
1
GitHub Stars
1
First Seen
Oct 10, 2026