Skip to content

A simple script to automate distribution in the spilt contract on a daily basics (off-chain)

License

Notifications You must be signed in to change notification settings

Yash094/Automated-Distribution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple script to automate distribution in the spilt contract on a daily basics (off-chain)

⚠️ Disclaimer

This code is for educational use only. If you are unsure of its suitability for production, please seek expert guidance.

📖 Table of Contents
  1. About The Project
  2. Installation
  3. Requirements
  4. Contributing
  5. License
  6. Contact

📜 About The Project

A simple script to automate distribution in the spilt contract on a daily basics (off-chain)

🚀 Installation

Follow these steps to set up the project:

  1. Rename .env.example to .env
  2. Fill in the details in the .env file
  3. npm install (to install all the dependecies)
  4. There are 2 script avaialble
    1. 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
    2. onReceive.js - This script will distrubute funds as soon as payment is received in the spilt contract, to use this run npm run onreceive

🛠️ Requirements

  • Node.js 18+
  • ThirdWeb API key
  • Spilt Contract Address

🤝 Contributing

Thank you for considering contributing to this project! To contribute, follow these steps:

  1. Fork the project.
  2. Create a new branch.
  3. Make your changes and commit them with a descriptive commit message.
  4. Push your changes to your fork.
  5. Submit a pull request.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

📞 Contact

For any inquiries or collaboration, you can reach us through:

  • Discord: yash094 / yashjoisar

About

A simple script to automate distribution in the spilt contract on a daily basics (off-chain)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published