Welcome to the Solana Todo App! This application leverages the power of the Solana blockchain to manage your todos securely. With this app, you can create todos, mark them as done, and automatically close your account once all todos are completed.
- Account Creation: Create a unique account on the Solana blockchain to manage your todos.
- Todo Management: Add new todos, mark them as done, and keep track of your tasks.
- Automatic Account Closure: Once all todos are completed, your account is automatically closed for security.
- Next.js: A React framework for building server-side rendered and statically generated applications.
- Solana Smart Contract: Written in Rust using the Anchor framework, ensuring secure and efficient execution of transactions on the Solana blockchain.
- Phantom Wallet: A browser extension wallet for the Solana blockchain, providing seamless integration for managing your account and signing transactions.
To get started with the Solana Todo App, follow these steps:
- Clone this repository to your local machine.
- Install dependencies using
npm install
. - Ensure you have the latest version of the Phantom Wallet extension installed in your browser.
- Start the development server using
npm run dev
. - Visit
http://localhost:3000
in your browser.
- Create Account: On the homepage, click on the "Create Account" button to create a new account on the Solana blockchain. This will generate a unique public/private key pair managed by your Phantom Wallet.
- Add Todos: Once logged in, you can add new todos using the input field provided. Press Enter to submit each todo.
- Mark Todos as Done: Click on the checkbox next to each todo to mark it as done. Completed todos will be visually distinguished from pending ones.
- Close Account: When all todos are completed, your account will automatically close for security purposes.
Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.
- Fork the repository.
- Create your feature branch (
git checkout -b feature/YourFeature
). - Commit your changes (
git commit -am 'Add some feature'
). - Push to the branch (
git push origin feature/YourFeature
). - Open a pull request.
This project is licensed under the MIT License.