Skip to content

Conversation

rodrigo-fournier-immutable
Copy link
Collaborator

@rodrigo-fournier-immutable rodrigo-fournier-immutable commented Sep 25, 2025

Overview

This PR implements a hybrid smart wallet infrastructure that combines Passport's proven Factory and MultiCallDeploy contracts with Biconomy's Nexus core implementation, creating a unified deployment system that leverages the best of both architectures.

Key Changes

🏗️ Infrastructure Integration

  • Passport Base: Uses existing Factory.sol and MultiCallDeploy.sol for reliable wallet deployment and batch execution
  • Nexus Core: Integrates Nexus.sol implementation with K1Validator for ERC-4337 and ERC-7579 compliance
  • Hybrid Architecture: 6-step deployment process that creates a complete smart account infrastructure

📦 Dependency Management

  • account-abstraction: Added proper NPM integration for ERC-4337 interfaces
  • Solidity Version: Standardized to 0.8.27 across all contracts

🚀 Deployment Scripts

  • Step-by-step deployment: Scripts for deploying infrastructure components (steps 0-6)
  • Wallet deployment: Support for both Factory and MultiCallDeploy methods with automatic fallback
  • CREATE2 Support: Deterministic address deployment with proper error handling
  • Unified Script: Single deploy-infrastructure-and-wallet.js for complete deployment

Architecture

Passport (Base) + Nexus (Core) = Hybrid Smart Wallet
├── Factory.sol (Passport) → Deploys wallets using Nexus implementation
├── MultiCallDeploy.sol (Passport) → Batch deployment + execution
├── Nexus.sol (Biconomy) → Core smart account logic
├── K1Validator.sol (Biconomy) → ECDSA signature validation
└── Supporting contracts → ImmutableSigner, LatestWalletImplLocator, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant