Skip to content

Latest commit

History

History
37 lines (22 loc) 路 3.31 KB

SETUP.md

File metadata and controls

37 lines (22 loc) 路 3.31 KB

Sheet Setup Guide

To run your own "node" for ShiitCoin, you can set up your sheet and client as follows:

  1. Sign in to your Google Account and visit the mainnet sheet, create a new sheet using the + button at the bottom left, and copy one of the existing "User_*" sheets into your new sheet.

  2. Rename your sheet to start with "user_". The remaining string can be anything unique like your real name or a pseudonym.

  3. Protect your sheet using the dropdown from the bottom right of your sheet tab. Click "Set Permissions" and select yourself in the dialog box.

Protect Sheet Set Permissions

  1. Edit cell B1 ("My Address") and paste in your public address. This is the address that will recieve rewards from blocks your client mines. You can generate a new public address (or see your old saved one) on our frontend client.

  2. Visit Google Drive Homepage, click "New" on top left, go to the "More" dropdown, and select "Google Apps Script".

  3. Paste in the contents of user.gs in the opened script. Edit the variable SELF_NAME in line 4 to match the name of your sheet(that you created in Step 2). Click Save and select the "runner" function in the top bar. Now click "Run". You should get a prompt requesting permissions.

Request Permissions

  1. Select Advanced > Go to <Project name>. Obviously, as Google warns you, you should only proceed if you trust the code in question (which is pulled straight from this repository on GitHub). We are not responsible for the safety of your account.

Screenshot 2021-09-26 at 11 52 21 AM Screenshot 2021-09-26 at 11 52 36 AM

  1. Now, you be redirected back to Google Apps Script, where you should see a "Execution started" message, and soon afterwards a "Execution completed" message.

  2. Finally, set up the script to mine hands-free by adding a trigger for the script every 5 minutes: Click the clock icon on the left sidebar and select "Add Trigger" at the bottom right. In the dialog box, select parameters to match the values in the screenshot below:

Trigger parameters

And that should be all! If you followed all the steps correctly so far, you should have your very own mining, gossip and wallet with non-zero balance when you successfully mine a block.