Super Salary
dApp to allow companies to delegate employees the cash of their salaries every period.
Videos
Description
Super Salary App
Super Salary App is a decentralized application (dApp) that allows companies to securely and automatically delegate periodic token transfers (specifically USDC) to their employees' wallets as part of their salary compensation. The application uses MetaMask Smart Accounts Kit technology to enable automated transactions with advanced permissions.
Features
Secure MetaMask connection: The application connects to the company's wallet through MetaMask.
Smart Accounts: Support for upgrading regular accounts to Smart Accounts for advanced features.
Token delegation: Companies can delegate permissions to transfer USDC to employees periodically.
Flexible configuration: Companies can configure the amount, frequency, and duration of transfers.
Blockchain transparency: All transactions are recorded on the blockchain for transparency.
Base Sepolia network: The application operates on the Base Sepolia network (chainId 84532).
USDC token: Default use of USDC as the token for salary delegations.
Requirements
MetaMask Flask (version 13.5.0 or higher)
Modern web browser
User account with sufficient funds on Base Sepolia
How to use the application
1. Initial setup
Make sure you have the MetaMask Flask extension installed in your browser
Open the application in your browser (by default at http://localhost:3000)
Connect your company wallet using the "Connect MetaMask" button
2. Upgrade to Smart Account (if needed)
After connecting your wallet, verify if it's already a Smart Account
If not, click "Check Status" to confirm
If your account is not a Smart Account, click "Upgrade to Smart Account"
Follow the instructions in MetaMask to complete the upgrade
Wait for the transaction to be confirmed
3. Configure token delegation
Navigate to the "USDC Delegation for Employees" section
Enter the employee's wallet address in "Employee Wallet Address"
Specify the amount of USDC to transfer in "Amount per Period (USDC)"
Select the transfer frequency in "Period (seconds)"
Select the total duration of the permission in "Duration (seconds)"
Click "Delegate USDC" to start the process
4. Permission management
You can revoke permissions at any time through the MetaMask interface
The application does not have direct access to your funds, only acts with granted permissions
All permissions have an expiration date as configured
Progress During Hackathon
I built this proof of concept for the hackathon, validating the opportunity with some employers.