PODC Setup

From BiblePay Wiki
Revision as of 10:57, 5 January 2020 by Togoshigekata (talk | contribs)
Jump to: navigation, search

PODC (Proof of Distributed Computing) allows blockchain energy to be used productively,
for science research, to help cure cancer and fight AIDS and Malaria!

Earn BiblePay (BBP) coins every day for contributing to the science project World Community Grid

Follow the steps below!


NOTE: Ask for help or post feedback: Forum or Discord

PART A: Install BOINC

This is the program that donates your idle computer time to science projects


WINDOWS

1. Click "Download BOINC" and Install: https://boinc.berkeley.edu/download.php

2. Reboot your Computer if asked

3. BOINC Manager should start up automatically, otherwise launch it

4. "Choose a project" >>> Select "World Community Grid" >>> Click "Next"

5. Sign in or Create an account with your email and a password >>> "Next" >>> "Finish"


LINUX

Reference: https://boinc.berkeley.edu/wiki/Installing_BOINC_on_Ubuntu

1.Install BOINC (NOTE: if command line only, just install the client)

 sudo aptitude install boinc-client boinc-manager

A. GUI

a.1. Run Boinc Manager >>> "Choose a project" >>> Select "World Community Grid" >>> Click "Next"

a.2. Sign in or Create an account with your email and a password >>> "Next" >>> "Finish"

B. COMMAND LINE

Reference: http://boinc.berkeley.edu/wiki/Boinccmd_tool

   sudo -u boinc boinccmd --project_attach http://www.worldcommunitygrid.org ACCOUNT_KEY

Your ACCOUNT_KEY can be found on your My Profile page


PART B: Enable Data Sharing on World Community Grid Account

1. Login to World Community Grid Website: https://www.worldcommunitygrid.org/ms/viewDataSharing.action

2. In the "Data Sharing" tab >>> you have to click "Display my data" >>> Save


PART C: Join Team BiblePay

NOTE: You do not need to join Team BiblePay to get rewards, but there is a large benefit to doing so

1. Login to World Community Grid website and Click "Team BiblePay" link below

https://www.worldcommunitygrid.org/team/viewTeamInfo.do?teamId=JRD1XTFK92

2. Click "Join Team"


PART D: Setup BiblePay Wallet

1. Download and Install the Wallet: https://www.biblepay.org/wallet/

2. Let the Wallet run until it is fully synced with the network (May take 10-20 minutes)


PART E: Get BiblePay Coins

OPTION A. Get free coins from a Faucet:

- BiblePay PODC Faucet: https://web.biblepay.org/ >>> Click left menu: "Faucet" tab

a. Your CPID (Cross-Project Id) is in your WCG Profile: https://www.worldcommunitygrid.org/ms/viewMyProfile.do


- FreeFaucet.io: https://freefaucet.io/claim/index.php?coin_name=biblepay&faucet_key=freefaucet18&claim=Claim+Biblepay


- SouthXchange Faucet: https://www.southxchange.com/Balance/Faucet


- Graviex Faucet: https://graviex.net/faucets/list


OPTION B. Buy coins from an exchange:

1. Buy Bitcoin (BTC)

a. Find Bitcoin Exchange: https://bitcoin.org/en/exchanges
(I recommend Coinbase: https://www.coinbase.com/
Video Tutorial: https://www.youtube.com/watch?v=_NgXWhfVVJU#t=20)
b. Create Account
c. Use Credit Card or Bank Account to Buy Bitcoin

2. Buy BiblePay (BBP)

a. Create account on SouthXchange: https://www.southxchange.com/Account/Register
b. Send Bitcoin to SouthXchange (NOTE: this may take 1-6 confirmations)
c. Buy BiblePay (BBP) coins with Bitcoin (BTC) using market or limit orders


PART F: Send BiblePay Coins to your Wallet

a. Wallet >> File >> Receiving Addresses >> New >> Label: "Staking" >> Ok

b. Right click "Staking" address >> Click Copy Address

c. Send your coins to your address


PART G: Link World Community Grid Account to your BiblePay Wallet

1. Create a Christian Public Key (CPK)

1.a BiblePay Wallet >>> Tools >>> Debug Console >>> Type in command and press enter

   exec cpk BBP_NICKNAME

Wait 3 block confirmations (about 20-30 minutes)

2. Login into World Community Grid: https://www.worldcommunitygrid.org/viewLogin.do

3. Get Verification Code >>> Top right "Settings" >> Left tab "My Profile" >>> Scroll to bottom

4. Run associate command to link your World Community Grid Account

4.a If Wallet is Locked, Unlock it >>> Settings >>> Unlock (Remember to Lock it back up afterwards)

4.b BiblePay Wallet >>> Tools >>> Debug Console >>> Type in command and press enter

   exec associate WCG_USERNAME WCG_VERIFICATIONCODE true

Wait 3 block confirmations (about 20-30 minutes)

5. Check your RAC (Recent Average Credit), these are the credits you get for solving tasks

   exec rac

6. In BiblePay Wallet check the "Leaderboard" tab to see if your BBP_NICKNAME is in the list


PART H: Calculate Staking

Reference: https://wiki.biblepay.org/PODC#Daily_Collateral_Requirements_for_PODC

If your RAC is above 250, you will need to hold BiblePay coins in your wallet to get your daily rewards

To get the max amount of rewards:
If you are on "Team BiblePay", you need (RAC ^ 1.3) coins
If you are not on "Team BiblePay", you need (RAC ^ 1.6) coins

Exponent Calculator: https://www.calculatorsoup.com/calculators/algebra/exponent.php

Staking Example:
- RAC (Recent Average Credit): 1000
- In Team BiblePay: 7944 BBP coins
- Not Team BiblePay: 63096 BBP coins

NOTE: Technically you need coin*age, coins multiplied by how many days they haven't moved


Get BiblePay Coins: https://wiki.biblepay.org/PODC_Setup#PART_E:_Get_BiblePay_Coins

Join Team BiblePay: https://www.worldcommunitygrid.org/team/viewTeamInfo.do?teamId=JRD1XTFK92


PART I: Calculate Rewards

NOTE: Rewards are paid out daily, but 48 hours later from starting

Reward = (Your RAC / All BiblePay RAC) * Daily Block Reward for PODC


Original Guide

https://wiki.biblepay.org/PODC


References

Guide:
https://wiki.biblepay.org/PODC

Change Team Guide:
https://whitewalr.us/2019/boinc-wcg-join-change-team.html

Outdated Guides:
https://wiki.biblepay.org/Distributed_Computing_2
http://wiki.biblepay.org/BOINC_Researcher_Setup

Staking Forum Vote:
https://forum.biblepay.org/index.php?topic=476.0


Team BiblePay Statistics

World Community Grid (WCG) Stats:
https://www.worldcommunitygrid.org/team/viewTeamInfo.do?teamId=JRD1XTFK92

WCG BOINC Stats:
https://www.boincstats.com/stats/15/team/detail/35006

WCG BOINC User List Stats:
https://www.boincstats.com/stats/15/user/list/16/0/35006

Combined BOINC Stats:
https://www.boincstats.com/stats/-1/team/detail/831912762/overview


What is RAC?

RAC (Recent Average Credit) has two parts, a decay function for old credits and a buildup for new credit,
it will take 7 days for your RAC to charge up 50%, and one month to charge up 90%+

https://boinc.berkeley.edu/wiki/Computation_credit
https://boinc.berkeley.edu/forum_thread.php?id=9482
https://en.wikipedia.org/wiki/BOINC_Credit_System
https://www.reddit.com/r/gridcoin/comments/9on87y/how_long_does_it_take_for_my_racmag_to_level_out/e7vftj9


TODO

- Improve steps on how to Get BiblePay Coins

- How to calculate daily rewards?
- Encrypting and Backing up Wallet

- Screenshots?
- Add more to linux steps?
- Video Tutorial