|
|
пре 4 година | |
|---|---|---|
| .idea | пре 4 година | |
| data | пре 4 година | |
| gui | пре 4 година | |
| lib | пре 4 година | |
| .gitignore | пре 4 година | |
| README.md | пре 4 година | |
| create_keys.py | пре 4 година | |
| gui.py | пре 4 година | |
| linked data testing.ipynb | пре 4 година | |
| linked_data.py | пре 4 година | |
| main.py | пре 4 година | |
| requirements.txt | пре 4 година |
This is a small description of how the chain works and how data is being formatted.
{
"key": "public key of the contract",
"id": "transaction id",
"timestamp": "unix timestamp of transaction creation",
"data": "encrypted string of contract",
"encrypted key":"encrypted semmetric key"
}
{
"id": "public key",
"type": "type of transaction",
"date of initiation": "time of day",
"data": {"client": "name of client",
"contractor": "name of contractor",
"discription": "discription of the contract",
"name": "name of the contract"},
"terms": {"deadline": "deadline",
"accepted": "has contract been accepted",
"progress": "0%",
"price": "price",
"Sign time": "time the contract was accepted",
"comments": "dictonary of comments",
"any other term": "with its value"
}
}
Terms are part of a contract.
{
"id": "public key of contract",
"update id": "unique id of update",
"updated": "what is it updating",
"type": "transaction type",
"last update": "time",
"accepted": "has update been accepted"
}