dkg 0.1.0b1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- dkg/__init__.py +3 -0
- dkg/asset.py +781 -0
- dkg/constants.py +39 -0
- dkg/data/interfaces/Assertion.json +131 -0
- dkg/data/interfaces/AssertionStorage.json +229 -0
- dkg/data/interfaces/CommitManagerV1.json +534 -0
- dkg/data/interfaces/CommitManagerV1U1.json +720 -0
- dkg/data/interfaces/ContentAsset.json +671 -0
- dkg/data/interfaces/ContentAssetStorage.json +706 -0
- dkg/data/interfaces/HashingProxy.json +227 -0
- dkg/data/interfaces/Hub.json +356 -0
- dkg/data/interfaces/Identity.json +193 -0
- dkg/data/interfaces/IdentityStorage.json +342 -0
- dkg/data/interfaces/ParametersStorage.json +468 -0
- dkg/data/interfaces/Profile.json +292 -0
- dkg/data/interfaces/ProfileStorage.json +596 -0
- dkg/data/interfaces/ProofManagerV1.json +525 -0
- dkg/data/interfaces/ProofManagerV1U1.json +546 -0
- dkg/data/interfaces/ScoringProxy.json +242 -0
- dkg/data/interfaces/ServiceAgreementStorageProxy.json +1299 -0
- dkg/data/interfaces/ServiceAgreementStorageV1.json +901 -0
- dkg/data/interfaces/ServiceAgreementStorageV1U1.json +1097 -0
- dkg/data/interfaces/ServiceAgreementV1.json +741 -0
- dkg/data/interfaces/ShardingTable.json +268 -0
- dkg/data/interfaces/ShardingTableStorage.json +317 -0
- dkg/data/interfaces/Staking.json +456 -0
- dkg/data/interfaces/StakingStorage.json +407 -0
- dkg/data/interfaces/Token.json +544 -0
- dkg/data/interfaces/UnfinalizedStateStorage.json +171 -0
- dkg/data/interfaces/WhitelistStorage.json +124 -0
- dkg/dataclasses.py +45 -0
- dkg/exceptions.py +161 -0
- dkg/graph.py +63 -0
- dkg/main.py +74 -0
- dkg/manager.py +64 -0
- dkg/method.py +131 -0
- dkg/module.py +63 -0
- dkg/node.py +54 -0
- dkg/providers/__init__.py +2 -0
- dkg/providers/blockchain.py +181 -0
- dkg/providers/node_http.py +62 -0
- dkg/types/__init__.py +8 -0
- dkg/types/blockchain.py +58 -0
- dkg/types/dkg_node.py +20 -0
- dkg/types/encoding.py +22 -0
- dkg/types/evm.py +25 -0
- dkg/types/generics.py +21 -0
- dkg/types/network.py +20 -0
- dkg/types/rdf.py +21 -0
- dkg/utils/__init__.py +0 -0
- dkg/utils/blockchain_request.py +159 -0
- dkg/utils/decorators.py +46 -0
- dkg/utils/merkle.py +173 -0
- dkg/utils/metadata.py +50 -0
- dkg/utils/node_request.py +197 -0
- dkg/utils/rdf.py +51 -0
- dkg/utils/string_transformations.py +22 -0
- dkg/utils/ual.py +41 -0
- dkg-0.1.0b1.dist-info/LICENSE +202 -0
- dkg-0.1.0b1.dist-info/METADATA +453 -0
- dkg-0.1.0b1.dist-info/RECORD +62 -0
- dkg-0.1.0b1.dist-info/WHEEL +4 -0
@@ -0,0 +1,453 @@
|
|
1
|
+
Metadata-Version: 2.1
|
2
|
+
Name: dkg
|
3
|
+
Version: 0.1.0b1
|
4
|
+
Summary: Python library for interacting with the OriginTrail Decentralized Knowledge Graph
|
5
|
+
License: Apache-2.0
|
6
|
+
Author: Uladzislau Hubar
|
7
|
+
Author-email: hubar.uladzislau@gmail.com
|
8
|
+
Requires-Python: >=3.11,<4.0
|
9
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
11
|
+
Classifier: Programming Language :: Python :: 3.11
|
12
|
+
Requires-Dist: eth-abi (>=4.0.0,<5.0.0)
|
13
|
+
Requires-Dist: eth-account (>=0.8.0,<0.9.0)
|
14
|
+
Requires-Dist: hexbytes (>=0.3.0,<0.4.0)
|
15
|
+
Requires-Dist: ot-pyld (>=2.1.1,<3.0.0)
|
16
|
+
Requires-Dist: pandas (>=1.5.3,<2.0.0)
|
17
|
+
Requires-Dist: pyyaml (>=6.0,<7.0)
|
18
|
+
Requires-Dist: rdflib (>=6.3.2,<7.0.0)
|
19
|
+
Requires-Dist: web3 (>=6.0.0,<7.0.0)
|
20
|
+
Description-Content-Type: text/markdown
|
21
|
+
|
22
|
+
<a name="readme-top"></a>
|
23
|
+
|
24
|
+
___
|
25
|
+
|
26
|
+
<br />
|
27
|
+
<div align="center">
|
28
|
+
<a href="https://github.com/OriginTrail/dkg.py">
|
29
|
+
<img src="images/banner.svg" alt="Python SDK Banner">
|
30
|
+
</a>
|
31
|
+
|
32
|
+
<h3 align="center"><b>dkg.py</b></h3>
|
33
|
+
|
34
|
+
<p align="center">
|
35
|
+
Python SDK for interacting with the OriginTrail Decentralized Knowledge Graph
|
36
|
+
</br>
|
37
|
+
<a href="https://docs.origintrail.io/">OriginTrail Docs</a>
|
38
|
+
·
|
39
|
+
<a href="https://github.com/OriginTrail/dkg.py/examples/demo.py">View Demo</a>
|
40
|
+
·
|
41
|
+
<a href="https://github.com/OriginTrail/dkg.py/issues">Report Bug</a>
|
42
|
+
·
|
43
|
+
<a href="https://github.com/OriginTrail/dkg.py/issues">Request Feature</a>
|
44
|
+
</p>
|
45
|
+
</div>
|
46
|
+
|
47
|
+
</br>
|
48
|
+
|
49
|
+
> **Disclaimer: Beta Version**
|
50
|
+
>
|
51
|
+
> Welcome to the beta version of our client! This software is currently in the beta testing phase, which means it is not the final release version. As a beta version, it may still contain bugs, undergo frequent updates, and have limited features.
|
52
|
+
Important Points to Note:
|
53
|
+
|
54
|
+
> **Use at Your Own Risk:** While we have made efforts to ensure the stability and reliability of the beta version, there is a possibility of encountering unexpected issues. Please use this software at your own risk.
|
55
|
+
|
56
|
+
> **Limited Support:** As this is a beta release, our support resources may be focused on addressing critical bugs and gathering feedback from users. Therefore, support for beta versions may be limited compared to our stable releases.
|
57
|
+
|
58
|
+
> **Feedback Appreciated:** Your feedback is invaluable to us. If you encounter any issues, have suggestions, or want to share your experiences with the beta version, please let us know. Your feedback will help us improve the software for the final release.
|
59
|
+
|
60
|
+
> **Not for Production Use:** The beta version is intended for testing and evaluation purposes only. It is not recommended for use in a production environment where stability and reliability are crucial.
|
61
|
+
|
62
|
+
</br>
|
63
|
+
|
64
|
+
<details open>
|
65
|
+
<summary>
|
66
|
+
<b>Table of Contents</b>
|
67
|
+
</summary>
|
68
|
+
<ol>
|
69
|
+
<li>
|
70
|
+
<a href="#📚-about-the-project">📚 About The Project</a>
|
71
|
+
<ul>
|
72
|
+
<li><a href="#what-is-a-decentralized-knowledge-graph">What is a Decentralized Knowledge Graph?</a></li>
|
73
|
+
<li><a href="#the-origintrail-dkg-architecture">The OriginTrail DKG Architecture</a></li>
|
74
|
+
<li><a href="#what-is-a-knowledge-asset">What is a Knowledge Asset?</a></li>
|
75
|
+
</ul>
|
76
|
+
</li>
|
77
|
+
<li>
|
78
|
+
<a href="#🚀-getting-started">🚀 Getting Started</a>
|
79
|
+
<ul>
|
80
|
+
<li><a href="#prerequisites">Prerequisites</a></li>
|
81
|
+
<li><a href="#installation">Installation</a></li>
|
82
|
+
</ul>
|
83
|
+
</li>
|
84
|
+
<li>
|
85
|
+
<a href="#📜-roadmap">📜 Roadmap</a>
|
86
|
+
<ul>
|
87
|
+
<li><a href="#1️⃣-pre-development-phase">1️⃣ Pre-development Phase</a></li>
|
88
|
+
<li><a href="#2️⃣-development-phase">2️⃣ Development Phase</a></li>
|
89
|
+
<li><a href="#3️⃣-documentation-phase">3️⃣ Documentation Phase</a></li>
|
90
|
+
<li><a href="#4️⃣-pre-release-phase">4️⃣ Pre-release Phase</a></li>
|
91
|
+
<li><a href="#5️⃣-release">5️⃣ Release</a></li>
|
92
|
+
<li><a href="#6️⃣-post-release">6️⃣ Post-release</a></li>
|
93
|
+
</ul>
|
94
|
+
</li>
|
95
|
+
<li><a href="#📄-license">📄 License</a></li>
|
96
|
+
<li><a href="#🤝-contributing">🤝 Contributing</a></li>
|
97
|
+
<li><a href="#❤️-thanks-to-all-contributors">❤️ Contributors</a></li>
|
98
|
+
<li><a href="#🌟-acknowledgements">🌟 Acknowledgements</a></li>
|
99
|
+
<li><a href="#📰-social-media">📰 Social Media</a></li>
|
100
|
+
</ol>
|
101
|
+
</details>
|
102
|
+
|
103
|
+
___
|
104
|
+
|
105
|
+
<br/>
|
106
|
+
|
107
|
+
## 📚 About The Project
|
108
|
+
|
109
|
+
<details open>
|
110
|
+
<summary>
|
111
|
+
|
112
|
+
### <b>What is a Decentralized Knowledge Graph?</b>
|
113
|
+
</summary>
|
114
|
+
|
115
|
+
<br/>
|
116
|
+
|
117
|
+
<div align="center">
|
118
|
+
<img src="images/nodes.png" alt="Knowledge Asset" width="200">
|
119
|
+
</div>
|
120
|
+
|
121
|
+
There are many available definitions of a knowledge graph, therefore we will present a simplified one focused on usability, rather than completeness. The purpose of this introduction is not to be a comprehensive guide for knowledge graphs, however it aims to get you started with the basics.
|
122
|
+
|
123
|
+
A **Knowledge Graph (KG)** is a complex structure that maps the connections and relationships among various entities - be they physical, digital, event-based, or conceptual. Commonly represented as semantic networks, these graphs are leveraged by major corporations such as [Amazon](http://lunadong.com/talks/PG.pdf), [Google](https://en.wikipedia.org/wiki/Google_Knowledge_Graph), [Uber](https://www.youtube.com/watch?v=r3yMSl5NB_Q), and [IBM](https://www.ibm.com/cloud/learn/knowledge-graph) for a wide array of applications, including search, data integration, knowledge reasoning, recommendation engines, analytics, and diverse facets of machine learning and artificial intelligence.
|
124
|
+
|
125
|
+
Key characteristics of knowledge graphs include:
|
126
|
+
|
127
|
+
- Prioritization of data connections, treating them as "first-class citizens" within the realm of linked data.
|
128
|
+
- Designed to accommodate data from diverse sources, supporting a variety of formats.
|
129
|
+
- Their data models are flexible and easily extendable, ready to adapt to the evolving nature of data and its relationships.
|
130
|
+
|
131
|
+
While knowledge graphs are typically deployed within the boundaries of a single organization to capture knowledge from various internal and external sources, we conceptualize them more broadly. We define the **Decentralized Knowledge Graph (DKG)** as a global, open data structure comprised of interlinked knowledge assets, benefiting both organizations and individuals.
|
132
|
+
|
133
|
+
Unique attributes of the DKG are:
|
134
|
+
|
135
|
+
- Empowerment of decentralized applications (Dapps) with search, integration, analytics, AI, and ML capabilities across a wide range of data sources, including blockchains, IPFS, enterprise systems, web services, and personal devices.
|
136
|
+
- Elimination of the need for a central authority by leveraging decentralized infrastructure.
|
137
|
+
- Facilitation of permissionless operations within the public network.
|
138
|
+
- Utilization of decentralized identity and Verifiable Credentials for access control, enabling references to private data.
|
139
|
+
|
140
|
+
This expansive approach enhances accessibility and flexibility, positioning the DKG as a powerful tool in the evolving digital landscape.
|
141
|
+
</details>
|
142
|
+
|
143
|
+
<details open>
|
144
|
+
<summary>
|
145
|
+
|
146
|
+
### <b>The OriginTrail DKG Architecture</b>
|
147
|
+
</summary>
|
148
|
+
|
149
|
+
<br/>
|
150
|
+
|
151
|
+
The OriginTrail tech stack is tailored to enable the discoverability, verifiability, and connectivity of physical and digital assets in a coherent Web3 data ecosystem. It meets two fundamental requirements for such an infrastructure:
|
152
|
+
|
153
|
+
- Ensuring trust via decentralized consensus.
|
154
|
+
- Utilizing semantic, verifiable asset data to represent complex real-world relationships and characteristics.
|
155
|
+
|
156
|
+
OriginTrail achieves this by incorporating two distinct types of technology into two network layers - Blockchains (trust networks) and Knowledge Graphs (semantic data networks).
|
157
|
+
|
158
|
+
<div align="center">
|
159
|
+
<img src="images/dkg-architecture1.png" alt="DKG Architecture" width="400">
|
160
|
+
</div>
|
161
|
+
|
162
|
+
**The DKG layer (Layer 2) consists of multiple sub-layers:**
|
163
|
+
|
164
|
+
- **Consensus layer**: Implements interfaces to several blockchains hosting trusted smart contracts used to manage relations between the nodes and implement trustless protocols.
|
165
|
+
- **Network layer**: A peer-to-peer swarm of DKG nodes hosted by individuals and organizations.
|
166
|
+
- **Data layer**: Hosting the knowledge graph data, distributed across the network in separate instances of graph databases.
|
167
|
+
- **Service layer**: Implements various core & extended services like authentication, standard interfaces, and data pipelines.
|
168
|
+
- **Application layer**: Includes Dapps and traditional applications that utilize the OriginTrail DKG as part of their data flows.
|
169
|
+
|
170
|
+
<div align="center">
|
171
|
+
<img src="images/dkg-architecture2.png" alt="DKG Architecture" width="400">
|
172
|
+
</div>
|
173
|
+
|
174
|
+
Further, the architecture differentiates between **the public, replicated knowledge graph** shared by all network nodes according to the protocol, and **private graphs** hosted separately by each of the networked nodes.
|
175
|
+
|
176
|
+
**The OriginTrail DKG** - combining blockchain and knowledge graph technologies - forms the backbone of the new, trusted Web3 data ecosystem. If you're a developer, you can use it to create, maintain, and use Knowledge Assets across Web3 applications, implementing standardized technologies like GS1 EPCIS, RDF/SPARQL, JSON-LD, and other W3C and GS1 standards right out of the box.
|
177
|
+
</details>
|
178
|
+
|
179
|
+
<details open>
|
180
|
+
<summary>
|
181
|
+
|
182
|
+
### <b>What is a Knowledge Asset?</b>
|
183
|
+
</summary>
|
184
|
+
|
185
|
+
<br/>
|
186
|
+
|
187
|
+
<div align="center">
|
188
|
+
<img src="images/ka.png" alt="Knowledge Asset" width="200">
|
189
|
+
</div>
|
190
|
+
|
191
|
+
**Knowledge Asset is the new, AI‑ready resource for the Internet**
|
192
|
+
|
193
|
+
Knowledge Assets are verifiable containers of structured knowledge that live on the OriginTrail DKG and provide:
|
194
|
+
- **Discoverability - UAL is the new URL**. Consider Uniform Asset Locators (UALs) a kind of URL that identify a piece of knowledge and make it easy to find and connect with other Knowledge Assets.
|
195
|
+
- **Ownership - NFTs enable ownership**. Each Knowledge Asset is created with an NFT token that enables trusted ownership and verifiability of your knowledge.
|
196
|
+
- **Verifiability - On-chain information trail**. The blockchain tech increases trust, security, transparency, and the traceability of information.
|
197
|
+
|
198
|
+
<br/>
|
199
|
+
|
200
|
+
**Discover Knowledge Assets with the DKG Explorer:**
|
201
|
+
<div align="center">
|
202
|
+
<table>
|
203
|
+
<tr>
|
204
|
+
<td align="center">
|
205
|
+
<a href="https://dkg.origintrail.io/explore?ual=did:dkg:otp/0x5cac41237127f94c2d21dae0b14bfefa99880630/309100">
|
206
|
+
<img src="images/knowledge-assets-graph1.svg" width="300" alt="Knowledge Assets Graph 1">
|
207
|
+
</a>
|
208
|
+
<br><b>Supply Chains</b>
|
209
|
+
</td>
|
210
|
+
<td align="center">
|
211
|
+
<a href="https://dkg.origintrail.io/explore?ual=did:dkg:otp/0x5cac41237127f94c2d21dae0b14bfefa99880630/309285">
|
212
|
+
<img src="images/knowledge-assets-graph2.svg" width="300" alt="Knowledge Assets Graph 2">
|
213
|
+
</a>
|
214
|
+
<br><b>Construction</b>
|
215
|
+
</td>
|
216
|
+
<td align="center">
|
217
|
+
<a href="https://dkg.origintrail.io/explore?ual=did:dkg:otp/0x5cac41237127f94c2d21dae0b14bfefa99880630/309222">
|
218
|
+
<img src="images/knowledge-assets-graph3.svg" width="300" alt="Knowledge Assets Graph 3">
|
219
|
+
</a>
|
220
|
+
<br><b>Life sciences and healthcare</b>
|
221
|
+
</td>
|
222
|
+
<td align="center">
|
223
|
+
<a href="https://dkg.origintrail.io/explore?ual=did:dkg:otp/0x5cac41237127f94c2d21dae0b14bfefa99880630/308028">
|
224
|
+
<img src="images/knowledge-assets-graph4.svg" width="300" alt="Knowledge Assets Graph 3">
|
225
|
+
</a>
|
226
|
+
<br><b>Metaverse</b>
|
227
|
+
</td>
|
228
|
+
</tr>
|
229
|
+
</table>
|
230
|
+
</div>
|
231
|
+
|
232
|
+
|
233
|
+
</details>
|
234
|
+
|
235
|
+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
|
236
|
+
<br/>
|
237
|
+
|
238
|
+
## 🚀 Getting Started
|
239
|
+
|
240
|
+
___
|
241
|
+
|
242
|
+
### Prerequisites
|
243
|
+
|
244
|
+
* python `>=3.11`
|
245
|
+
* poetry `>=1.5.1`
|
246
|
+
|
247
|
+
___
|
248
|
+
<br/>
|
249
|
+
|
250
|
+
### Installation
|
251
|
+
|
252
|
+
|
253
|
+
Create virtual environment (you can choose any existing folder this command will create configurations and virtual env for python):
|
254
|
+
```bash
|
255
|
+
python3 -m venv /path/to/folder
|
256
|
+
```
|
257
|
+
|
258
|
+
Inside of previously generated folder you will find activate script in bin folder and run it:
|
259
|
+
```bash
|
260
|
+
source /path/to/folder/bin/activate
|
261
|
+
```
|
262
|
+
|
263
|
+
Install dependencies:
|
264
|
+
```bash
|
265
|
+
poetry install
|
266
|
+
```
|
267
|
+
|
268
|
+
Now you can run a demo example file:
|
269
|
+
```bash
|
270
|
+
python3 examples/demo.py
|
271
|
+
```
|
272
|
+
|
273
|
+
<br/>
|
274
|
+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
|
275
|
+
|
276
|
+
## 📜 Roadmap
|
277
|
+
|
278
|
+
This roadmap outlines the goals for the first major release of the `dkg.py`. Each section represents a stage in the development process and the features we plan to implement.
|
279
|
+
|
280
|
+
<details open>
|
281
|
+
<summary>
|
282
|
+
|
283
|
+
### 1️⃣ Pre-development Phase
|
284
|
+
|
285
|
+
</summary>
|
286
|
+
|
287
|
+
- [x] **Requirement Analysis and Planning**
|
288
|
+
- [x] Define the project's scope
|
289
|
+
- [x] Identify the core functionalities
|
290
|
+
|
291
|
+
- [x] **Design**
|
292
|
+
- [x] Plan the library's architecture
|
293
|
+
- [x] Establish coding standards
|
294
|
+
|
295
|
+
- [ ] **Setup Development Environment**
|
296
|
+
- [x] Setup development, testing and production environments
|
297
|
+
- [ ] Add pytest config
|
298
|
+
- [ ] Add mypy config
|
299
|
+
- [ ] Add tox config ?
|
300
|
+
- [ ] Setup Continuous Integration (CI) and Continuous Deployment (CD) pipeline
|
301
|
+
</details>
|
302
|
+
|
303
|
+
<details open>
|
304
|
+
<summary>
|
305
|
+
|
306
|
+
### 2️⃣ Development Phase
|
307
|
+
</summary>
|
308
|
+
|
309
|
+
| Feature | Status | Tests coverage |
|
310
|
+
|:-:|:-:|:-:|
|
311
|
+
| Create | 🟩 Completed | ❌ |
|
312
|
+
| Transfer | 🟩 Completed | ❌ |
|
313
|
+
| Update | 🟩 Completed | ❌ |
|
314
|
+
| Wait for finalization | 🟥 Not Started | ❌ |
|
315
|
+
| Cancel update | 🟩 Completed | ❌ |
|
316
|
+
| Burn | 🟩 Completed | ❌ |
|
317
|
+
| Get | 🟩 Completed | ❌ |
|
318
|
+
| Query | 🟩 Completed | ❌ |
|
319
|
+
| Extend storing period | 🟩 Completed | ❌ |
|
320
|
+
| Add tokens | 🟩 Completed | ❌ |
|
321
|
+
| Add update tokens | 🟩 Completed | ❌ |
|
322
|
+
| Get owner | 🟩 Completed | ❌ |
|
323
|
+
| Experimental | 🟥 Not Started | ❌ |
|
324
|
+
</details>
|
325
|
+
|
326
|
+
<details open>
|
327
|
+
<summary>
|
328
|
+
|
329
|
+
### 3️⃣ Documentation Phase
|
330
|
+
</summary>
|
331
|
+
|
332
|
+
- [ ] Write comprehensive documentation
|
333
|
+
- [x] Provide examples and use-cases
|
334
|
+
- [ ] Review and finalize documentation
|
335
|
+
</details>
|
336
|
+
|
337
|
+
<details open>
|
338
|
+
<summary>
|
339
|
+
|
340
|
+
### 4️⃣ Pre-release Phase
|
341
|
+
</summary>
|
342
|
+
|
343
|
+
- [ ] **Beta Release**
|
344
|
+
- [X] Release a beta version for testing
|
345
|
+
- [ ] Gather and address feedback
|
346
|
+
|
347
|
+
- **Bug Fixes**
|
348
|
+
- Identify and fix bugs
|
349
|
+
|
350
|
+
- [ ] **Final Testing and QA**
|
351
|
+
- [ ] Perform comprehensive testing
|
352
|
+
- [ ] Ensure the library meets quality standards
|
353
|
+
</details>
|
354
|
+
|
355
|
+
<details open>
|
356
|
+
<summary>
|
357
|
+
|
358
|
+
### 5️⃣ Release
|
359
|
+
</summary>
|
360
|
+
|
361
|
+
- [ ] Merge the first version into the main branch
|
362
|
+
- [ ] Release the v1.0.0 of the `dkg.py` library
|
363
|
+
</details>
|
364
|
+
|
365
|
+
<details open>
|
366
|
+
<summary>
|
367
|
+
|
368
|
+
### 6️⃣ Post-release
|
369
|
+
</summary>
|
370
|
+
|
371
|
+
- Monitor for any issues
|
372
|
+
- Plan for next versions based on user feedback and usage
|
373
|
+
</details>
|
374
|
+
|
375
|
+
<br/>
|
376
|
+
|
377
|
+
**Note:** This roadmap is subject to changes. Each step will be accompanied by appropriate documentation, testing and code review to maintain the quality of the library.
|
378
|
+
|
379
|
+
<br/>
|
380
|
+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
|
381
|
+
|
382
|
+
## 📄 License
|
383
|
+
|
384
|
+
Distributed under the Apache-2.0 License. See `LICENSE` file for more information.
|
385
|
+
|
386
|
+
<br/>
|
387
|
+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
|
388
|
+
|
389
|
+
## 🤝 Contributing
|
390
|
+
|
391
|
+
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.
|
392
|
+
|
393
|
+
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
|
394
|
+
Don't forget to give the project a star! Thanks again!
|
395
|
+
|
396
|
+
1. Fork the Project
|
397
|
+
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
|
398
|
+
3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
|
399
|
+
4. Push to the Branch (`git push origin feature/AmazingFeature`)
|
400
|
+
5. Open a Pull Request
|
401
|
+
|
402
|
+
<br/>
|
403
|
+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
|
404
|
+
|
405
|
+
## ❤️ Thanks to all Contributors!
|
406
|
+
|
407
|
+
<!-- readme: <u.hubar>,collaborators,<mucke12>,contributors/- -start -->
|
408
|
+
<!-- readme: <u.hubar>,collaborators,<mucke12>,contributors/- -end -->
|
409
|
+
|
410
|
+
<br/>
|
411
|
+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
|
412
|
+
|
413
|
+
## 🌟 Acknowledgements
|
414
|
+
|
415
|
+
- [web3.py](https://github.com/ethereum/web3.py): Basis for this project
|
416
|
+
|
417
|
+
|
418
|
+
<br/>
|
419
|
+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
|
420
|
+
|
421
|
+
## 📰 Social Media
|
422
|
+
|
423
|
+
<br/>
|
424
|
+
|
425
|
+
<div align="center">
|
426
|
+
<a href="https://medium.com/origintrail">
|
427
|
+
<img src="images/icons/medium.svg" alt="Medium Badge" width="30" style="margin-right: 10px"/>
|
428
|
+
</a>
|
429
|
+
<a href="https://t.me/origintrail">
|
430
|
+
<img src="images/icons/telegram.svg" alt="Telegram Badge" width="30" style="margin-right: 10px"/>
|
431
|
+
</a>
|
432
|
+
<a href="https://x.com/origin_trail">
|
433
|
+
<img src="images/icons/x.svg" alt="X Badge" width="30" style="margin-right: 10px"/>
|
434
|
+
</a>
|
435
|
+
<a href="https://www.youtube.com/c/origintrail">
|
436
|
+
<img src="images/icons/youtube.svg" alt="YouTube Badge" width="30" style="margin-right: 10px"/>
|
437
|
+
</a>
|
438
|
+
<a href="https://www.linkedin.com/company/origintrail/">
|
439
|
+
<img src="images/icons/linkedin.svg" alt="LinkedIn Badge" width="30" style="margin-right: 10px"/>
|
440
|
+
</a>
|
441
|
+
<a href="https://discord.gg/cCRPzzmnNT">
|
442
|
+
<img src="images/icons/discord.svg" alt="Discord Badge" width="30" style="margin-right: 10px"/>
|
443
|
+
</a>
|
444
|
+
<a href="https://www.reddit.com/r/OriginTrail/">
|
445
|
+
<img src="images/icons/reddit.svg" alt="Reddit Badge" width="30" style="margin-right: 10px"/>
|
446
|
+
</a>
|
447
|
+
<a href="https://coinmarketcap.com/currencies/origintrail/">
|
448
|
+
<img src="images/icons/coinmarketcap.svg" alt="Coinmarketcap Badge" width="30" style="margin-right: 10px"/>
|
449
|
+
</a>
|
450
|
+
</div>
|
451
|
+
|
452
|
+
___
|
453
|
+
|
@@ -0,0 +1,62 @@
|
|
1
|
+
dkg/__init__.py,sha256=2pZEIrpDODunXXZmcLuKLWUrTrWLlYj10f11VzK5oLs,108
|
2
|
+
dkg/asset.py,sha256=_zy91-oOCe3BqHkaG_42FPBXYG1S6dyBYN1Ko3EJ4jU,29376
|
3
|
+
dkg/constants.py,sha256=Q4raJ163c220ONl0ODgsLDotZjB_2JtYHV7EfEwZjuk,1413
|
4
|
+
dkg/data/interfaces/Assertion.json,sha256=PXouqSR-LCnj47puplhI8jpGrj_5ZrljSLs_TE4Sofs,2465
|
5
|
+
dkg/data/interfaces/AssertionStorage.json,sha256=WNvimMROngLiDmu4t-mn9wNDPPvrvEOkMYFfF8ayui4,4346
|
6
|
+
dkg/data/interfaces/CommitManagerV1.json,sha256=JHegWrQtEYmLqzv5x9qtooBD_U4Nf5KSUTHJDoB0BEg,10513
|
7
|
+
dkg/data/interfaces/CommitManagerV1U1.json,sha256=5khU3wkConV7HWbmM-qT7F4iTUkLcMMxxvv0K59KDI0,14425
|
8
|
+
dkg/data/interfaces/ContentAsset.json,sha256=0lDQ9JQ59bKzLSaeVPerdlx2_Irci3IuQXtgme8UPKI,13497
|
9
|
+
dkg/data/interfaces/ContentAssetStorage.json,sha256=RYq6KqnPheJNDLmoT5EgQi1Ekvg-qaICZGZA1jZUkrE,13189
|
10
|
+
dkg/data/interfaces/HashingProxy.json,sha256=HhM54uWv15Ol6dDT_XeNrSHHdOUNNbER50HCUtutcuE,4324
|
11
|
+
dkg/data/interfaces/Hub.json,sha256=P3PJbD5pfHDtUOrCNnHnEDGHFny6-zV1oyqbrGhzvXE,6896
|
12
|
+
dkg/data/interfaces/Identity.json,sha256=MzpsT_Id8EiG7nwGCTfja-mnD9Jq91WN_GiA9S723xw,3590
|
13
|
+
dkg/data/interfaces/IdentityStorage.json,sha256=0wa0XXiHu119KapP5hxPp_4uwDkK5DzhSrUkgHVVYLs,6429
|
14
|
+
dkg/data/interfaces/ParametersStorage.json,sha256=wR10ijxDCWyJ1nxpCg4pvHRcM0yts0PO7nzAxof4oYU,8795
|
15
|
+
dkg/data/interfaces/Profile.json,sha256=FOiMudmsml-n2ENDtXxbBJAuiRs2b43rNRZCf-wDpXQ,5520
|
16
|
+
dkg/data/interfaces/ProfileStorage.json,sha256=2R0SiPcQca0n183qGsZy-CtnV-VlknyRvaa6tEu3ML0,11334
|
17
|
+
dkg/data/interfaces/ProofManagerV1.json,sha256=1alCi4jDzPBMZnEzpA77Yk0wG1cL_Zy24dGJ-qHP6T4,10276
|
18
|
+
dkg/data/interfaces/ProofManagerV1U1.json,sha256=2rS10XoOb9fwqZutFM22Mp1inZM8d4TSS8AOyyuiaP4,10738
|
19
|
+
dkg/data/interfaces/ScoringProxy.json,sha256=Y99XB-KnmEfWOICzPueC2UYKWi9tXTJbQxgqFpWd8IY,4653
|
20
|
+
dkg/data/interfaces/ServiceAgreementStorageProxy.json,sha256=MiBvsPhyK86cGWY1lMzoHRTwP2lMEMlDwDCCCbaEwNc,25691
|
21
|
+
dkg/data/interfaces/ServiceAgreementStorageV1.json,sha256=BY5tKy22mGFtdhUvFk6XO0BX0DJ5PfO_74zS9JAIH9s,17776
|
22
|
+
dkg/data/interfaces/ServiceAgreementStorageV1U1.json,sha256=VFpdKO5mZEuXlsFfzabhSHV9YlPuZ1bHx3c7mBpnkQU,21831
|
23
|
+
dkg/data/interfaces/ServiceAgreementV1.json,sha256=Y37OII_iWbJmbIeGCpaXvwOLp9vdVGstM93e1nRQzkU,15079
|
24
|
+
dkg/data/interfaces/ShardingTable.json,sha256=ShYjoeSMu0831lBp6qVOrwrM4Sdrcp2ITtLyMriC82k,5248
|
25
|
+
dkg/data/interfaces/ShardingTableStorage.json,sha256=bOD24CjC1ch40ZCjfdNL4Oj1nyMjDbyK5sn2uKB33Gk,6112
|
26
|
+
dkg/data/interfaces/Staking.json,sha256=f92O0xFW8idQVSXkV6dChlqvJcOJqErp9xxn88R17lE,8940
|
27
|
+
dkg/data/interfaces/StakingStorage.json,sha256=YAvfqQDiKtNP531Z3RrpW8kY9km1mrNoEofU-xOyqMw,7718
|
28
|
+
dkg/data/interfaces/Token.json,sha256=w6XjiACAVhYtLTkjcCUsuahhhepp8Yauvrm5gM117p8,10045
|
29
|
+
dkg/data/interfaces/UnfinalizedStateStorage.json,sha256=5muoK6W1_CyHjfHWLvl53TpEChnOPP5EBbUfhZE9QbI,3086
|
30
|
+
dkg/data/interfaces/WhitelistStorage.json,sha256=Z7ABHU1iIh6rWM0pSszbUNYTMeJShBXAzdwdwrg7ErY,2193
|
31
|
+
dkg/dataclasses.py,sha256=fwwuXfSNCFv8eIYfGIJzBd_zR75YXl55WuPALmr9iM0,1255
|
32
|
+
dkg/exceptions.py,sha256=b4_liOjocwoZ6mpjYvgph74WylIxj1Q8OR8ypKUg26Q,3459
|
33
|
+
dkg/graph.py,sha256=YVMjJ2BA7KgNxXKammRTRLQtHBsWwY_dqzs_4-seFB0,2248
|
34
|
+
dkg/main.py,sha256=wXKTcjluvAs8kaYyMOnyFGVhMV8xTf4EbA4arJKnme8,2542
|
35
|
+
dkg/manager.py,sha256=cT0dgkpOVphfodzO9ncXZxNu26zet6ED5XfIXORpLog,2627
|
36
|
+
dkg/method.py,sha256=BwL0CcBubNzUPHVxmf2U1k1vsvGOz3fn2fm-xsc7fbg,5143
|
37
|
+
dkg/module.py,sha256=sYEpD_iHPYcGg791Qnk0kF4oZVFageXymfT6tXNDmMo,2565
|
38
|
+
dkg/node.py,sha256=ccoVdxwulStT0UM6v6PXJq9bpwEsXoPCBYD2Ed27emw,1816
|
39
|
+
dkg/providers/__init__.py,sha256=Z3Wp3ap4U4mnFgMQx8A-oyUdUAKrl3WKxGLYX15aj4s,99
|
40
|
+
dkg/providers/blockchain.py,sha256=3w0YXFYD8EkhdyNPaw_TX81xJ5TCcvuYoBHiycdiSqc,6827
|
41
|
+
dkg/providers/node_http.py,sha256=i6U7JavXpv8HLPPz7Uo9g1K4S9kauUnRT-jSmGpHHRE,2389
|
42
|
+
dkg/types/__init__.py,sha256=k5tPpE2BKfkijWly04yHFQJwbx64pOgZjsgJ3dS58BE,446
|
43
|
+
dkg/types/blockchain.py,sha256=TGPbhv5uCbRR3-jJ0tv_7YoWnj5OyPFeEou9kGEPN4g,1606
|
44
|
+
dkg/types/dkg_node.py,sha256=uGjaYUO4D55sHJrL_3aOL3Nul3RlAo_aL4HLoSrQxr0,838
|
45
|
+
dkg/types/encoding.py,sha256=gOtt9XLoxs6TE7rOCrAx-aCOdsDdaTVn3bxu9HPavxc,915
|
46
|
+
dkg/types/evm.py,sha256=gN2hSq4MQzobWE3YAiTZPcv5b65AVyUEQut8hWPnx68,971
|
47
|
+
dkg/types/generics.py,sha256=9ZGFGWp4eN_5bGaWF6COtFMh228ZghjU1CmUok0fuds,907
|
48
|
+
dkg/types/network.py,sha256=htNZ00Vrb-wMcR4_XI1tn_-0uVjDqcW7hhdHyjbyq1g,838
|
49
|
+
dkg/types/rdf.py,sha256=qm1l7pqTLWBlSmaoQhmBg2qKS16eF83IcOnxuYPdiv8,851
|
50
|
+
dkg/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
51
|
+
dkg/utils/blockchain_request.py,sha256=fJDx7Zo3lorrPzxQAtsRadC0TwiztwEabXfb3a-h6RI,4867
|
52
|
+
dkg/utils/decorators.py,sha256=uUh0xI9wv1gE6JF44eYEfUPGSFEBLR6Ua5D9Dhc3s10,1566
|
53
|
+
dkg/utils/merkle.py,sha256=kyKawNUixQy02iQZgLDMsOpqWebTE_lI1VWiPKyhdvI,5135
|
54
|
+
dkg/utils/metadata.py,sha256=483OroYwGNfZ_cCXfH3-xUrZgiR4mjjo9iU_Ie5RYRs,1658
|
55
|
+
dkg/utils/node_request.py,sha256=bgkk5iR4abGwSmSsVFWXG06kD3sAa7a1VD3uS8_aNF4,6704
|
56
|
+
dkg/utils/rdf.py,sha256=ohMzzReFx-PXhMThbSgGOs22XInibjcS9AAGJVTcC9A,1836
|
57
|
+
dkg/utils/string_transformations.py,sha256=UtoXbuy4Y0ontbX6l9HwcrZ9tEXJEith00hW7pz4sKg,971
|
58
|
+
dkg/utils/ual.py,sha256=VcXesffAMDMMu4MP7y0DdR8assLG4yXFIT_d3Mopb6Q,1474
|
59
|
+
dkg-0.1.0b1.dist-info/LICENSE,sha256=Dr70w2zcW8-jrPGlpTTTlJPL8lR4j2zpDD32tdEFgjY,11375
|
60
|
+
dkg-0.1.0b1.dist-info/METADATA,sha256=I-8D5ghz6m1bDyMwyzPb_FbRE7NYJHi01ep9Ph-A9Fc,17445
|
61
|
+
dkg-0.1.0b1.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
62
|
+
dkg-0.1.0b1.dist-info/RECORD,,
|