A Proof of Work Cryptocurrency Written in Python
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Developed by St. Robert CHS' Coding Club in 2021, RobCoin (Symbol: $TR) is a proof-of-work cryptocurrency written in Python. As a project, RobCoin's development was used to guide and educate club members about cryptocurrencies and provide real-world programming experience.
This project is an independent project pursued by St. Robert Catholic High School's Coding Club. This project is not affiliated, sponsored, or supported by St. Robert Catholic High School or the York Catholic District School Board. St. Robert Catholic High School's Coding Club is not liable for any loss or damage of whatever nature (direct, indirect, consequential, or other) that may be incurred through the use of the project.
AS A PROJECT DESIGNED AROUND EDUCATION, ROBCOIN HAS NO MONETARY VALUE. THE USE OF THIS COIN SHOULD ONLY BE FOR EDUCATIVE/EXPLORATORY PURPOSES. ST. ROBERT CHS CODING CLUB HIGHLY DISCOURAGES THE USE OF ROBCOIN AS A MEDIUM OF TRANSACTION FOR MATTERS SUCH AS, BUT NOT LIMITED TO: (1)TRANSACTIONS OF MONETARY VALUE, (2)EXCHANGE FOR SERVICES AND/OR GOODS, (3)ILLEGAL/ILLICIT ACTIVITIES. ANY EVIDENCE OF SUCH ACTION WILL BE REPRIMANDED. ROBCOIN'S SOURCE CODE IS DISTRIBUTED UNDER THE MIT LICENSE. SEE LICENSE
FOR MORE INFORMATION.
- Python
3.9
,pip3
- Install the latest release of Python
3.9
-
Update before installing new packages
sudo apt-get update
-
Check Python version
python3 --version
-
If Python version <
3.9
sudo apt install python3.9
-
Validate
python3.9 --version
-
Install
pip3
sudo apt-get -y install python3-pip
-
Validate
pip3 --version
Download and extract client.zip
(NOT THE SOURCE CODE!) from the latest release
.
- Download here: https://github.com/STR-Coding-Club/RobCoin/releases
-
Install Required Libraries
pip3 install -r requirements.txt
In some cases, pip3 may be pip in
PATH
pip install -r requirements.txt
-
Using your IDE of choice, open the extracted
RobCoin
folder. -
Run
run_wallet.py
to generate private & public keys; wallet address. -
Run
run_miner.py
to start mining to earn RobCoin!
After mining for a while, you should have some RobCoin to spend! run_wallet.py
will allow you to send, recieve and check your balance through the use of commands.
-
address
- Returns your receiving address so that others can send you Robcoin
-
balance
-
Returns your balance of Robcoin.
Pending
refers to transactions that have yet to be mined onto the blockchain.
-
-
balance <address>
- Returns the balance of inputted address
-
send <recipient> <amount>
-
recipient -> The recipient's address
-
amount -> The amount of Robcoin you wish to send
-
Using RobCoin's source code, you may choose to fork RobCoin by creating your own blockchain. To do so, you will need to run your own node
- Python
3.9
,pip3
-
Update before installing new packages
sudo apt-get update
-
Check Python version
python3 --version
-
If Python version <
3.9
sudo apt install python3.9
-
Validate
python3.9 --version
-
Install
pip3
sudo apt-get -y install python3-pip
-
Validate
pip3 --version
- Clone the repo
git clone https://github.com/STR-Coding-Club/RobCoin
cd
into repo directorycd RobCoin
- Install Required Libraries
pip3 install -r requirements.txt
- Open Port
5000
on host domain - Add host domain to
wallet.py
,node.py
- Run
node.py
python3 node.py
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
St. Robert CHS Coding Club - @strcodingclub - [email protected]
Project Link: https://github.com/STR-Coding-Club/RobCoin