barz

Installation
SKILL.md

Barz — Modular Smart Contract Wallet

A secure, modular, upgradeable ERC-4337 smart contract wallet built on the EIP-2535 Diamond, Multi-Facet Proxy standard. Each feature is an independent facet that can be attached or detached by the wallet owner.

Repo: github.com/trustwallet/barz


Architecture

Barz uses the Diamond proxy pattern — a single Barz.sol proxy that delegates calls to modular facets:

Barz (Diamond Proxy)
├── AccountFacet              — execution, ERC-4337 validateUserOp
├── Secp256k1VerificationFacet — ECDSA (standard EOA-style signing)
├── Secp256r1VerificationFacet — P256 / Passkey (WebAuthn)
├── MultiSigFacet             — multi-signature support
├── DiamondCutFacet           — add/replace/remove facets
Related skills

More from trustwallet/tw-agent-skills

Installs
9
GitHub Stars
54
First Seen
Mar 3, 2026