Worker App
Last updated
Last updated
Certain actions on WaxFusion's smart contracts need to be called occasionally in order to keep the protocol functioning as intended. In the spirit of keeping everything fully open source, and ensuring that no single person is ever needed for the protocol to function, all of the necessary actions can be called by any WAX wallet.
To simplify this process and make it easy for anyone to call these actions, we have created an open source Node JS worker app that you can run if you'd like to provide redundancy in case our worker app ever goes down for any reason.
Keep in mind that this app is a work in progress - while it does call the necessary actions, it is not nearly as efficient as it can be. For example, certain transactions are submitted at timed intervals regardless of whether it is time to call these actions or not. It would be more ideal to first check the state of the protocol via API call(s), and only submit the transactions when the protocol is ready to process them.
This is something that will be improved upon over time, but at the moment it is not a huge priority as the main focus is building/launching the protocol.
The Node JS worker app can be found at the following Github repo