|
|
4 yıl önce | |
|---|---|---|
| .idea | 4 yıl önce | |
| data | 4 yıl önce | |
| gui | 4 yıl önce | |
| lib | 4 yıl önce | |
| .gitignore | 4 yıl önce | |
| README.md | 4 yıl önce | |
| create_keys.py | 4 yıl önce | |
| gui.py | 4 yıl önce | |
| linked data testing.ipynb | 4 yıl önce | |
| linked_data.py | 4 yıl önce | |
| main.py | 4 yıl önce | |
| requirements.txt | 4 yıl önce |
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"
}
{
"id": "contract id",
"state": "state of the contract e.g. ACCEPTED|REJECTED etc",
"title": "title of contract",
"description": "description of contract",
"deadline": "unix timestamp of contract deadline",
"price": "price of contract",
"initiator": "public key of address that created the contract",
"worker": "public key of address that fulfills the contract",
"initial_block": "block number contract created in",
"modified_by": "public key of party last modified data",
"last_comment": "comment regarding modification",
"terms": [{
"see": "Term data"
}]
}
Terms are part of a contract.
{
"id": "id of the term",
"title": "title of the term",
"description": "description of the term",
"deadline": "unix timestamp of term deadline"
}