This repository was archived by the owner on Apr 14, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5d250ca
commit 71c0afa
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# TCOIN | ||
### Blockchain, Cyrpto Currency, Wallet Tools, Miner Tools | ||
|
||
___ | ||
> Tested in Python 3.7.3 64-bit | ||
## tcoin_base module | ||
Base of the TCOIN Blockchain/Cyrpto Currency | ||
|
||
## Installing Dependencies | ||
pip install -r req.txt | ||
|
||
## Using test files | ||
These test files just covers localhost implementation, but you can create different nodes in different ports | ||
Make sure that after creating the first node, mine a block, then start another node in the same directory, that will inherit the ongoing blockchain and broadcast itself to other nodes, which found in inherited blockchain. | ||
|
||
The `blockchain` file is written everytime when new block created | ||
#### Starting test node: | ||
python test_node.py | ||
output: | ||
>PORT: (give your port) | ||
#### Starting test wallet: | ||
python test_wallet.py | ||
output: | ||
>PORT: (give the port for the node that you want to connect) | ||
You can learn the commands for test files by looking in them, easly understandable |