Public smart contract source for Smart Wallet.
This repository contains the EVM and Cardano contract implementations, contract tests, verification fixtures, and gas/execution-budget reports needed to inspect and reproduce the contract builds.
evm/: Foundry Solidity project.cardano/: Aiken validator workspace.test-vectors/: protocol fixtures used by contract tests.scripts/: contract-only helper scripts for Cardano fixtures and budget checks.docs/gas/: gas and execution-budget reports.
EVM contracts are built with Foundry and Solidity 0.8.30.
Cardano validators use Plutus V3 and currently require a pinned Aiken build that
exposes the exp_mod_integer builtin:
aiken v1.1.23+115682a
Install that temporary Aiken build as documented in cardano/README.md.
pnpm install
pnpm run ciRun chain-specific checks with:
pnpm run evm:test
pnpm run cardano:test
pnpm run cardano:contract-test
pnpm run cardano:budgetThe Cardano blueprint is committed at cardano/plutus.json. Rebuild it with:
pnpm run cardano:buildCurrent gas and execution-budget reports are in docs/gas.
EVM Solidity files carry MIT SPDX identifiers. The Cardano Aiken package declares Apache-2.0 in cardano/aiken.toml.