A quick guide to where the important stuff lives:
If you have any development problems and are running a local node, do a hard reset with that “compile”. You should use the “refresh” script after you update any modules.
This is where we put the classes which run the core features of the blockchain: monitoring the network, handling interactions with peers, managing the mempool and building blocks. If you want to get your hands dirty, you can access these objects through the “app” object that is passed along with most module callbacks.
This is where you install modules. All modules go into the “mods” subdirectory in this directory. In order to install a module, put it in the mods subdirectory like all of the others then edit the file “mods.js” in this folder to tell Saito that you want to load it. Everything should be pretty clear.
You’ll notice a template.js file in here as well. That is the parent class from which all modules inherent their functionality. You can look at it and see exactly what functions you can extend when building applications. We try to keep this file well-commented.