dApp to allow companies to delegate employees the cash of their salaries every period.
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.
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.
MetaMask Flask (version 13.5.0 or higher)
Modern web browser
User account with sufficient funds on Base Sepolia
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
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
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
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
I built this proof of concept for the hackathon, validating the opportunity with some employers.