Chatterpay is a Wallet for WhatsApp that integrates AI and Account Abstraction, enabling any user to use blockchain easily and securely without technical knowledge.
Create Wallet, Transfer, Swap, and mint NFTs — directly from WhatsApp!
Built for: Level Up Hackathon - Ethereum Argentina 2024 & Ethereum Uruguay 2024
Build By: mpefaur, tomasfrancizco, TomasDmArg, gonzageraci, dappsar
Get started with our Bot 🤖:
Components:
- Landing Page (product, source code)
- User Dashboard Website (product, source code)
- Backend API (source code)
- Smart Contracts (source code) (this Repo)
- Data Indexing (Subgraph) (source code)
- Bot AI (Chatizalo) (product)
- Bot AI Admin Dashboard Website (product)
This repository contains the source code of the Smart Contracts.
Built With:
- Framework: Foundry
- Language: Solidity
- Smart Contracts Library: OpenZeppelin
- L2 Blockchain: Arbitrum
- Account Abstraction: ERC-4337
- Web3 Data Feed: Chainlink
1. Install Requirements:
2. Clone repository:
git clone https://github.com/P4-Games/ChatterPay-SmartContracts
cd ChatterPay-SmartContracts
3. Complete .env file:
Create a .env file in the root folder and populate it with the keys indicated in file example_env
4. Install Dependencies:
yarn
git submodule update --init --recursive
5. Usage:
Build
# Local development (faster builds)
yarn run build:local
# Production build (optimized)
yarn run build:prod
Test
# Run tests with local profile
yarn run test:local
# Run tests with production profile
yarn run test:prod
# Run coverage tests
yarn run test:coverage:local
# Run gas report
yarn run test:gas
Format
forge fmt
Deploy
# Real Deploy
yarn run deploy:arbitrum-sepolia
# Real Deploy + Verify contracts
yarn run deploy:arbitrum-sepolia:verify
# Deploy only ChatterPay contract
yarn run deploy:chatterpay
# Deploy + Verify only ChatterPay contract
yarn run deploy:chatterpay:verify
Technical Documentation:
If you would like to explore more details about the source code, you can review this link.
Contribution:
Thank you for considering helping out with the source code! We welcome contributions from anyone on the internet, and are grateful for even the smallest of fixes!
If you'd like to contribute to ChatterPay, please fork, fix, commit and send a pull request for the maintainers to review and merge into the main code base. If you wish to submit more complex changes though, please check up with the core devs first to ensure those changes are in line with the general philosophy of the project and/or get some early feedback which can make both your efforts much lighter as well as our review and merge procedures quick and simple.
Please make sure your contributions adhere to our coding guidelines.
Contributors:
-
Core Developers: tomasDmArg - tomasfrancizco - dappsar
-
Auditors: EperezOk - 0xJuancito - Magehernan
-
See more in: https://github.com/P4-Games/chatterPay-SmartContracts/graphs/contributors