Difference between revisions of "PODC Setup"

From BiblePay Wiki
Jump to: navigation, search
(PART E: Link BOINC Account to your BiblePay Wallet)
m (PART E: Get BiblePay Coins: - Removed FreeFaucet.io)
 
(59 intermediate revisions by the same user not shown)
Line 1: Line 1:
PODC allows blockchain energy to be used productively, to help cure cancer and fight AIDS and Malaria <br />
+
PODC (Proof of Distributed Computing) allows blockchain energy to be used productively, <br />
 +
for science research, to help cure cancer and fight AIDS and Malaria! <br />
  
With [http://biblepay.org/ BiblePay (BBP)], a Charity Cryptocurrency, <br />
+
Earn [http://biblepay.org/ BiblePay (BBP)] coins every day for contributing to the science project [https://en.wikipedia.org/wiki/World_Community_Grid World Community Grid]<br />
you can now earn BiblePay coins for you volunteered CPU science contributions! <br />
 
  
You will need to perform some initial setup steps <br />
+
Follow the steps below!<br />
after which BiblePay coin rewards will be distributed daily to your Wallet! <br />
 
To fully receive rewards you will need to buy and hold some BiblePay coins in your Wallet, this is called "staking" <br />
 
  
This guide is for novices and experts, please skip any steps you have already completed <br />
+
-----
 +
 
 +
NOTE: Ask for help or post feedback: [https://bitcointalk.org/index.php?topic=2388064.new#new Forum] or [https://discordapp.com/invite/gvyFnKu Discord]
 +
 
 +
== VIDEO TUTORIALS ==
 +
 
 +
How to Install and Sync Wallet, How to Setup PODC <br />
 +
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 ==
 
== PART A: Install BOINC ==
  
BOINC is the program that lets you donate your idle computer time to science projects <br />
+
This program donates your idle computer time to science projects <br />
 +
 
  
 
=== WINDOWS ===
 
=== WINDOWS ===
Line 28: Line 33:
 
5. Sign in or Create an account with your email and a password >>> "Next" >>> "Finish" <br />
 
5. Sign in or Create an account with your email and a password >>> "Next" >>> "Finish" <br />
  
=== LINUX ===
+
 
 +
=== <span class="mw-customtoggle-0" style=" display:inline-block;">LINUX <span class="mw-customtoggletext" style="font-size:small;">[Show/hide]</span></span> ===
 +
<div  id="mw-customcollapsible-0" class="mw-collapsible mw-collapsed">
  
 
Reference: https://boinc.berkeley.edu/wiki/Installing_BOINC_on_Ubuntu <br />
 
Reference: https://boinc.berkeley.edu/wiki/Installing_BOINC_on_Ubuntu <br />
  
1.Install BOINC (NOTE: if running headless (command line only), only install the client)
+
1.Install BOINC (NOTE: if command line only, just install the client)
 
   sudo aptitude install boinc-client boinc-manager
 
   sudo aptitude install boinc-client boinc-manager
  
== PART B: Join Team BiblePay ==
+
A. GUI
 +
 
 +
a.1. Run Boinc Manager >>> "Choose a project" >>> Select "World Community Grid" >>> Click "Next" <br />
 +
 
 +
a.2. Sign in or Create an account with your email and a password >>> "Next" >>> "Finish" <br />
 +
 
 +
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 [https://www.worldcommunitygrid.org/ms/viewMyProfile.do My Profile] page
 +
</div>
 +
 
 +
 
 +
 
 +
== 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
 
1. Login to World Community Grid website and Click "Team BiblePay" link below
Line 43: Line 76:
 
2. Click "Join Team"
 
2. Click "Join Team"
  
== PART C: Setup BiblePay Wallet ==
 
  
1. Download and Install: https://www.biblepay.org/wallet/ <br />
+
== PART D: Setup BiblePay Wallet ==
  
2. Let Wallet run until it is fully synced
+
1. Download and Install the Wallet: https://www.biblepay.org/wallet/ <br />
  
== PART D: Send BiblePay Coins to your Wallet ==
+
2. Let the Wallet run until it is fully synced with the network (May take 10-20 minutes)
  
OPTION A. Buy coins from an exchange:
 
  
https://www.southxchange.com/Market/Book/BBP/BTC
+
== PART E: Get BiblePay Coins ==
  
 +
OPTION A. Get free coins from a Faucet:
  
OPTION B. Get free coins from a Faucet:
+
- BiblePay PODC Faucet: https://web.biblepay.org/ >>> Click left menu: "Faucet" tab<br />
  
1. Create Pool Account: http://pool.biblepay.org/ >> Register Account
+
: a. Your CPID (Cross-Project Id) is in your WCG Profile: https://www.worldcommunitygrid.org/ms/viewMyProfile.do
  
2. On left menu click "Faucet"
+
: b. You need to run BOINC for a little bit (and reach 100 RAC) before you can claim these coins
  
  
'''NOTE''': How to Generate BiblePay Wallet Receiving Address
+
- SouthXchange Faucet: https://www.southxchange.com/Balance/Faucet <br />
  
1. Wallet >> File >> Receiving Addresses >> New >> Label: "Staking" >> Ok
 
  
2. Right click "Staking" address >> Click Copy Address
 
  
(Command Line Users: ./biblepay-cli getaccountaddress "Staking")
+
OPTION B. Buy coins from an exchange:  
  
== PART E: Link BOINC Account to your BiblePay Wallet ==
+
1. Buy Bitcoin (BTC) <br />
 +
: a. Find Bitcoin Exchange: https://bitcoin.org/en/exchanges <br />
 +
: (I recommend Coinbase: https://www.coinbase.com/ <br />
 +
: Video Tutorial: https://www.youtube.com/watch?v=_NgXWhfVVJU#t=20) <br />
 +
: b. Create Account <br />
 +
: c. Use Credit Card or Bank Account to Buy Bitcoin <br />
  
1. Create a Christian Public Key (CPK) and wait 3 block confirmations (about 20 minutes)
+
2. Buy BiblePay (BBP) <br />
 +
: a. Create account on SouthXchange: https://www.southxchange.com/Account/Register <br />
 +
: b. Send Bitcoin to SouthXchange (NOTE: this may take 1-6 confirmations) <br />
 +
: c. Buy BiblePay (BBP) coins with Bitcoin (BTC) using market or limit orders<br />
 +
 
 +
== 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
 
     exec cpk BBP_NICKNAME
 +
 +
Wait 3 block confirmations (about 20-30 minutes)
  
 
2. Login into World Community Grid: https://www.worldcommunitygrid.org/viewLogin.do
 
2. Login into World Community Grid: https://www.worldcommunitygrid.org/viewLogin.do
Line 81: Line 136:
 
3. Get Verification Code >>> Top right "Settings" >> Left tab "My Profile" >>> Scroll to bottom
 
3. Get Verification Code >>> Top right "Settings" >> Left tab "My Profile" >>> Scroll to bottom
  
4. BiblePay Wallet >>> Tools >>> Debug Console >>> Type in command and press enter
+
4. Run associate command to link your World Community Grid Account
  
    exec associate WCG_USERNAME WCG_VERIFICATIONCODE
+
4.a If Wallet is Locked, Unlock it >>> Settings >>> Unlock (Remember to Lock it back up afterwards)
  
Wait at least 3 blocks
+
4.b BiblePay Wallet >>> Tools >>> Debug Console >>> Type in command and press enter
  
5. Check your RAC (Recent Average Credit)
+
    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
 
     exec rac
  
6. In BiblePay Wallet check the "Leaderboard" tab to see if your nickname is in the list
+
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 <br />
 +
 
 +
To get the max amount of rewards: <br />
 +
If you are on "Team BiblePay", you need (RAC ^ 1.3) coins <br />
 +
If you are not on "Team BiblePay", you need (RAC ^ 1.6) coins <br />
 +
 
 +
Exponent Calculator: https://www.calculatorsoup.com/calculators/algebra/exponent.php
 +
 
 +
Staking Example: <br />
 +
- RAC (Recent Average Credit): 1000 <br />
 +
- In Team BiblePay:  7944 BBP coins<br />
 +
- Not Team BiblePay: 63096 BBP coins<br />
  
== PART F: Calculate Staking and Daily Profits ==
+
NOTE: Technically you need coin*age, coins multiplied by how many days they haven't moved <br />
  
test
 
  
== MISC ==
+
'''Get BiblePay Coins:'''
 +
https://wiki.biblepay.org/PODC_Setup#PART_E:_Get_BiblePay_Coins
  
Outdated Reference Guides: <br />
+
'''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: <br />
 +
https://wiki.biblepay.org/PODC <br />
 +
 
 +
Change Team Guide: <br />
 +
https://whitewalr.us/2019/boinc-wcg-join-change-team.html <br />
 +
 
 +
Outdated Guides: <br />
 
https://wiki.biblepay.org/Distributed_Computing_2 <br />
 
https://wiki.biblepay.org/Distributed_Computing_2 <br />
 
http://wiki.biblepay.org/BOINC_Researcher_Setup <br />
 
http://wiki.biblepay.org/BOINC_Researcher_Setup <br />
 +
 +
Staking Forum Vote: <br />
 +
https://forum.biblepay.org/index.php?topic=476.0 <br />
 +
 +
Mind Map: <br />
 +
https://app.gitmind.com/doc/adf43633 <br />
 +
 +
 +
== Team BiblePay Statistics ==
 +
 +
World Community Grid (WCG) Stats: <br />
 +
https://www.worldcommunitygrid.org/team/viewTeamInfo.do?teamId=JRD1XTFK92 <br />
 +
 +
WCG BOINC Stats: <br />
 +
https://www.boincstats.com/stats/15/team/detail/35006 <br />
 +
 +
WCG BOINC User List Stats: <br />
 +
https://www.boincstats.com/stats/15/user/list/16/0/35006 <br />
 +
 +
Combined BOINC Stats: <br />
 +
https://www.boincstats.com/stats/-1/team/detail/831912762/overview <br />
 +
 +
 +
== What is RAC? ==
 +
 +
RAC (Recent Average Credit) has two parts, a decay function for old credits and a buildup for new credit, <br />
 +
it will take 7 days for your RAC to charge up 50%, and one month to charge up 90%+ <br />
 +
 +
https://boinc.berkeley.edu/wiki/Computation_credit <br />
 +
https://boinc.berkeley.edu/forum_thread.php?id=9482 <br />
 +
https://en.wikipedia.org/wiki/BOINC_Credit_System <br />
 +
https://www.reddit.com/r/gridcoin/comments/9on87y/how_long_does_it_take_for_my_racmag_to_level_out/e7vftj9 <br />
 +
 +
 +
== TODO ==
 +
 +
- Improve steps on how to Get BiblePay Coins <br />
 +
 +
- How to calculate daily rewards? <br />
 +
- Encrypting and Backing up Wallet <br />
 +
 +
- Screenshots? <br />
 +
- Add more to linux steps? <br />
 +
- Video Tutorial <br />

Latest revision as of 00:50, 23 August 2020

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


- 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