https://github.com/aliscode/cpecoin
Basic, insecure implementation of a dummy Crypto-Currency in Rust (School project)
https://github.com/aliscode/cpecoin
Last synced: 7 months ago
JSON representation
Basic, insecure implementation of a dummy Crypto-Currency in Rust (School project)
- Host: GitHub
- URL: https://github.com/aliscode/cpecoin
- Owner: AlisCode
- Created: 2018-04-11T23:04:41.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-12T00:21:41.000Z (almost 8 years ago)
- Last Synced: 2025-01-06T09:12:19.461Z (about 1 year ago)
- Language: Rust
- Size: 86.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CPECoin
The first ever CryptoCurrency of CPE Lyon!
**NOTE**: This is a school project, essentially for fun and learning purposes, please **don't** ever try to use this as a real crypto-currency system (you won't be able to, anyway :))
## Motivation
* Understanding & learning how to build a Blockchain
* Showing what Rust is capable of
* Having a good grade on the English presentation I made about this
## How to use ?
First things first: **you don't**. This is an educational project and isn't ready for any kind of real-world use. However, if you're into self-inflicted pain, then here we go :)
### Cloning the project and building it
Clone the repo, then cd into it and cargo-build it.
git clone https://github.com/AlisCode/CPECoin
cd CPECoin
cargo build --release
If everything goes well, you should have **4 binaries** generated in the /target/release folder.
You're ready to use the CPECoin blockchain! Yay !
Before we go any further, it is worth noting that every single one of the generated binaries is a command-line executable, adhering to the Unix philosophy of "Doing one thing, and doing it well."
If you ever doubt about how to use an executable, then run the program with -h option to get help.
### Generating a wallet
Generating your wallet is the first part to collect your CPECoins. Just run ./wallet, and a file wallet.cpecoin containing your secret and private key will be automatically generated
### Adding a transaction
todo
### Mining
todo
### Checking the balance of your account
todo