@trustwallet/barz
Build with Barz, Trust Wallet's ERC-4337 smart contract wallet. Account abstraction, passkey authentication, social recovery, and modular architecture.
Install
Add @trustwallet/barz to Claude Code with the PolySkill CLI: polyskill add @trustwallet/barz
Instructions
# Barz — Modular Smart Contract Wallet A secure, modular, upgradeable ERC-4337 smart contract wallet built on the [EIP-2535 Diamond, Multi-Facet Proxy](https://eips.ethereum.org/EIPS/eip-2535) 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 sig…
Keywords: trustwallet, barz, erc-4337, account-abstraction, smart-wallet, passkey