Aether is a decentralized platform enabling gasless transactions for ERC-20 and ERC-721 tokens. Built with Solidity, Hardhat, WAGMI, RainbowKit, and Next.js, it provides a seamless user experience where users can connect their wallets and send tokens without worrying about gas fees.
- 🚀 Gasless Transactions: Send ERC-20 and ERC-721 tokens without paying gas fees.
- 🛡️ Wallet Integration: Effortlessly connect wallets using WAGMI and RainbowKit.
- ⚡ Modern Tech Stack: Combines Solidity, Hardhat, and Next.js for secure and efficient operations.
Ensure the following are installed:
git clone https://github.com/dg-2805/Gasless_Transactions.git
cd aether
### 2. Install Dependencies
Run the following command in the project root directory:
```bash
npm installCreate a .env file in the root directory and add the following:
NEXT_PUBLIC_ALCHEMY_API_KEY=your_alchemy_api_key
PRIVATE_KEY=your_wallet_private_key
CONTRACT_ADDRESS=deployed_contract_addressNavigate to the contracts directory and compile the smart contracts:
npx hardhat compileTo deploy the contracts, use:
npx hardhat run scripts/deploy.js --network <network_name>Replace <network_name> with your target blockchain (e.g., goerli, mainnet, or polygon).
Token.sol deployed at:
0xe5da5a7B250E68eF69d40b9799bede9491C14a67NFTcontract.sol deployed at:
0x44378e1beefC422568ABa878c74168369e4840C6Forwarder.sol deployed at:
0x086C097E6e82CC076828C94d4F433976B69ee56bRun the following command to start the Next.js development server:
npm run devVisit http://localhost:3000 to view the application.
-
Connect Wallet
Use the "Connect Wallet" button powered by RainbowKit to connect your wallet. -
Select Token Type
Choose whether to send an ERC-20 or ERC-721 token. -
Enter Transaction Details
Provide the recipient address and token ID/amount. -
Send Gasless Transaction
Click "Send" to initiate the gasless transaction through Aether.
├── contracts # Solidity smart contracts
├── scripts # Deployment and interaction scripts
├── pages # Next.js pages
├── components # Reusable UI components
├── styles # Styling files
├── utils # Helper functions
└── .env # Environment variables
- Solidity: Smart contract programming.
- Hardhat: Development and testing framework.
- Next.js: Frontend framework.
- WAGMI & RainbowKit: Wallet integration and UI.
- Alchemy: Blockchain data provider.
Contributions are welcome!
Follow these steps to contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature-name). - Commit your changes (
git commit -m 'Add feature'). - Push to the branch (
git push origin feature-name). - Open a pull request.
This project is licensed under the MIT License.
For queries or support, contact the team at devayanee999@gmail.com.