Skip to main content

Introduction

The EVM Protocol SDK connects your application to Swig wallets through your own RPC connection and signing keys.
  • Use when: you need direct control of wallet creation, permissions, and transaction execution.
  • For: app developers integrating a compatible EVM deployment in TypeScript, Rust, or Python.

How it works

  1. Connect to a compatible deployment and choose an application signer.
  2. Create a wallet with a root authority, then fund its vault.
  3. Add roles with permissions for the tasks their signers need.
  4. Execute through the wallet config and check the transaction or UserOperation result.

Wallet structure

Execution paths

Both paths spend assets from the vault and enforce the selected role’s permissions.

SDK example

The EVM SDKs are currently consumed from source. Obtain the repository first:
Then install the language you use:
Start with Environment setup, then create a wallet. The examples use Secp256k1 authorities; sponsored operations require an already deployed account, EntryPoint v0.9, and a compatible provider.