smart-wallet
Simple implementation of an ERC-4337 contract wallet controlled by Passkeys
File Explorer
Download Latest Version (.zip)- ci.yml
- run-latest.json
- account-abstraction
- forge-std
- openzeppelin-contracts
- p256-verifier
- deploy_factory.sh
- SimpleAccountFactory.s.sol
- P256.sol
- SimpleAccount.sol
- SimpleAccountFactory.sol
- WebAuthn.sol
- SendUserOp.t.sol
- SimpleFactory.t.sol
- Utils.sol
- .env.example
- foundry.toml
- remappings.txt
- page.tsx
- route.ts
- route.ts
- route.ts
- route.ts
- page.tsx
- favicon.ico
- globals.css
- layout.tsx
- index.tsx
- index.tsx
- index.tsx
- index.tsx
- index.tsx
- index.tsx
- logo-animated.css
- index.tsx
- logo-animated.css
- index.tsx
- index.tsx
- index.tsx
- index.tsx
- index.tsx
- index.tsx
- index.tsx
- spinner.css
- index.tsx
- index.tsx
- index.tsx
- index.tsx
- client.ts
- entryPoint.ts
- factory.ts
- index.ts
- useDebounce.ts
- getBalance.ts
- getUser.ts
- index.ts
- saveUser.ts
- index.tsx
- useSmartWalletHook.tsx
- estimateUserOperationGas.ts
- getIsValidSignature.ts
- getUserOperationReceipt.ts
- index.ts
- sendUserOperation.ts
- waitForUserOperationReceipt.ts
- index.ts
- builder.ts
- constants.ts
- index.ts
- types.ts
- smart-wallet.ts
- index.ts
- SmartWalletProvider.tsx
- common.ts
- EIP155.ts
- index.ts
- useWalletConnectHook.tsx
- wallet-connect.ts
- index.ts
- ModalOnWCEvent.tsx
- WalletConnectProvider.tsx
- web-authn.ts
- index.ts
- types.ts
- index.tsx
- index.tsx
- index.tsx
- index.tsx
- arrayConcat.ts
- fromBase64ToHex.ts
- observe.ts
- removeLeadingZero.ts
- stringify.ts
- truncate.ts
- .env.local.example
- .eslintrc.json
- .npmrc
- .prettierrc
- next.config.js
- package.json
- pnpm-lock.yaml
- tsconfig.json
- .gitignore
- .gitmodules
- LICENSE
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/passkeys-4337/smart-wallet
Downloads the entire project code from GitHub to your computer.
cd smart-wallet
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
pnpm install
Downloads and installs the libraries listed in package.json.
pnpm dev
Starts the development/run server.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
