Automated Task Scheduler for Helios Blockchain
Helios Chronos App is a proof-of-concept application that allows users to manage and monitor their automated tasks (crons) on the Helios blockchain. Users can connect their wallet and view detailed information about their scheduled smart contract executions.
- Wallet Connection: Connect your wallet using WalletConnect/Reown AppKit
- Cron Management: View all your automated tasks with detailed information
- Real-time Statistics: Monitor network-wide cron statistics
- Responsive Design: Works on desktop and mobile devices
- Helios Integration: Direct integration with Helios blockchain RPC
- Node.js 18+
- npm or yarn
- A Reown (formerly WalletConnect) Project ID
- Clone the repository:
git clone <repository-url>
cd helios-chronos-app
- Install dependencies:
npm install
- Set up environment variables:
cp .env.local.example .env.local
Edit .env.local
and add your configuration:
NEXT_PUBLIC_NODE_ENV=development
NEXT_PUBLIC_BASE_URL=http://localhost:3000
NEXT_PUBLIC_PROJECT_ID=your_reown_project_id_here
- Run the development server:
npm run dev
- Open http://localhost:3000 in your browser.
The app integrates with the Helios blockchain RPC API to fetch cron data:
- Endpoint:
http://91.99.37.116:8545
- Method:
eth_getAccountCronsByPageAndSize
- Statistics:
eth_getCronStatistics
Each cron contains the following information:
- ID: Unique identifier
- Owner Address: Wallet address that created the cron
- Contract Address: Target smart contract
- Method Name: Function to be called
- Execution Details: Next execution block, expiration, frequency
- Gas Configuration: Gas limit and max gas price
- Statistics: Total executions, fees paid
- Status: Current execution stage (Pending, Executing, Completed, Failed, Expired)
npm run dev
- Start development servernpm run build
- Build for productionnpm run start
- Start production servernpm run lint
- Run ESLint
- New Components: Add to
components/
directory with corresponding SCSS modules - API Integration: Extend
hooks/useCrons.ts
or create new hooks - Types: Add TypeScript definitions to
types/
directory - Styling: Use SCSS modules for component-specific styles
- Build the application:
npm run build
-
Deploy to your preferred platform (Vercel, Netlify, etc.)
-
Update environment variables for production
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
This project is licensed under the MIT License.
For support and questions, please open an issue in the repository.