A simple script to automate distribution in the spilt contract on a daily basics (off-chain)
This code is for educational use only. If you are unsure of its suitability for production, please seek expert guidance.
📖 Table of Contents
A simple script to automate distribution in the spilt contract on a daily basics (off-chain)
Follow these steps to set up the project:
- Rename .env.example to .env
- Fill in the details in the .env file
- Fill in the chainId and contract address on line 15.
- npm install (to install all the dependecies)
- run index.js - This script will run daily and check for funds in your wallet and distribute,
To use this run
npm run start or npm run daily
- Node.js 18+
- ThirdWeb API key
- Spilt Contract Address
Thank you for considering contributing to this project! To contribute, follow these steps:
- Fork the project.
- Create a new branch.
- Make your changes and commit them with a descriptive commit message.
- Push your changes to your fork.
- Submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
For any inquiries or collaboration, you can reach us through:
- Discord: yash094 / yashjoisar