Welcome to Saito
If you just downloaded Saito and want to get it running, please read our INSTALL file instead of this one. This README contains more general information that might be useful for developers getting started.
Nuking versus Compiling
./npm run nuke (to purge all blockchain data) ./npm run compile (to preserve blockchain data)
Please see the INSTALL file for instructions on getting Saito running. Once the program is executing, you can connect to Saito through your browser:
You can find the default start page for this webpage in our source code directory at the following location. It is currently auto-generated from the "welcome" module which can be found in the mods directory. Edits to the welcome module will persist across compilations.
Most of the user-driven functionality is coded in optional modules that create web applications. Our blockchain explorer, for instance, is just a regular Saito application module. The file that controls which modules are loaded by any server is:
The modules themselves are contained in sub-directories within that directory. A good way to get familiar with Saito (and find out how it works under the hood) is to look at these modules. Existing apps can act as simple tutorials on how to code your own applications.
While we're testing our network, we will be changing the public keys of both the Bank and Archive modules. To test these modules in development, make sure the keys are set to the following values:
this.bank_publickey = "nR2ecdN7cW91nxVaDR4uXqW35GbAdGU5abzPJ9PkE8Mn" this.bank_privatekey = app.wallet.returnPrivateKey();
this.publickey = "nR2ecdN7cW91nxVaDR4uXqW35GbAdGU5abzPJ9PkE8Mn";
this.publickey = this.app.wallet.returnPublicKey();`
If you have any questions or need help please get in touch: