A decentralized application (dApp) for automated token trading on Ethereum-compatible blockchains. This project supports buying, selling, and withdrawing tokens using multiple sub-accounts.
- Multi-account management
- Batch processing of transactions
- Delayed execution of transactions in the future
- Automated buying and selling of tokens
- Balance monitoring and withdrawal
- Support for multiple Ethereum-compatible chains
- Integration with Uniswap V2 for token swaps
- This is a source-only project and does not require any environment setup.
- We do not store any user data. All user information and transactions are handled client-side for maximum security and privacy.
Follow these instructions to set up the project on your local machine for development and testing purposes.
- Node.js (v20 or later)
- Yarn (latest version)
- Ethereum wallet with testnet or mainnet funds
-
Clone the repository:
git clone https://github.com/Delght/delayed-transaction-relayer -
Navigate to the project directory:
cd delayed-transaction-relayer -
Install dependencies:
yarn -
Run the development server:
yarn dev
src/
├── app/ # React components and app logic
│ ├── components/ # Reusable UI components
│ ├── hooks/ # Custom React hooks
│ └── ... # Various app-specific components (buy, sell, config, etc.)
├── client/ # Client configuration for blockchain interaction
├── config/ # Configuration files (chains, constants)
├── modules/
│ ├── transaction/ # Core transaction management logic
│ └── trading/ # Trading-specific logic
├── utils/ # Utility functions and helpers
└── main.tsx # Entry point of the application
- Configure your main account and token information in the application settings.
- Import existing sub-accounts or generate new ones within the app.
- Choose between buying, selling, or withdrawing tokens for each sub-account.
- Monitor transactions and balances in real-time through the user interface.
To configure the application for your specific needs:
- Update the
config/chains.tsfile to add or modify supported blockchain networks. - Adjust trading parameters and thresholds in
config/constants.ts. - Customize the Uniswap V2 integration in
modules/trading/uniswapV2.tsif needed.