PODC Setup

From BiblePay Wiki
Revision as of 16:36, 29 March 2020 by Togoshigekata (talk | contribs) (Removed WCG_ from beginning of parameters for exec associate)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

VIDEO TUTORIALS

How to Install and Sync Wallet, How to Setup PODC
https://www.publish0x.com/what-is-volunteer-computing-and-why-do-it/how-to-setup-up-a-biblepay-wallet-and-podc-20-xlnpxq


PART A: Install BOINC

This program 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 [Show/hide]

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
b. You need to run BOINC for a little bit (and reach 100 RAC) before you can claim these coins


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


- 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


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 USERNAME VERIFICATIONCODE true

Wait 5 block confirmations (about 30-40 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

1. Calculate Amount of BBP needed for 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


2. Send BBP coins to your CPK address

BiblePay Wallet >>> File menu >>> Scroll down to Label: CHRISTIAN-PUBLICK-KEY >>> Right click "Copy Address" >>> Close

Go to "Send" tab >>> Paste the CPK address into the "Pay To" field >>> Send your BBP coins to your CPK address so they can be used for PODC


PART I: Calculate Rewards

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


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


Example of Generic Smart Contract (GSC) Daily Superblock rewarding users at Block #168120 on 2020-01-06:

https://chainz.cryptoid.info/bbp/block.dws?574393ddb527c9b2d25c1ca7da9dd3201e1102fc02d00b9219b972a03c1b83af.htm

About 840,000 coins were paid out, 60% goes to PODC, so about 504,000 BBP paid out to PODC researchers

As of 2020-01-24, Ive heard that rewards are about 0.5 BBP per 1 RAC


PART J: Keep Wallet Running

If your wallet is running, it will automatically send out a staking transaction every day for you

We recommend leaving your wallet up and running so that you never miss out on getting rewarded

Alternatively you can also run this command to send the transaction manually:

 sendgscc wcg


Miscellaneous

 exec bankroll quantity denomination

Example: exec bankroll 10 1000 will take your coins and create 10 addresses and send 1000 BBP coins to each of them

This command is useful in breaking your coins up into smaller buckets to help with more efficient coin*age usage


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

Mind Map:
https://app.gitmind.com/doc/adf43633


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