You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+61-77Lines changed: 61 additions & 77 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,36 +4,23 @@ Arkiv is a permissioned storage system for decentralized apps, supporting flexib
4
4
5
5
The Arkiv SDK is the official Python library for interacting with Arkiv networks. It offers a type-safe, developer-friendly API for managing entities, querying data, subscribing to events, and offchain verification—ideal for both rapid prototyping and production use.
6
6
7
-
## SDK Architecture
7
+
## Architecture
8
8
9
-
### Principles
9
+
Principles:
10
+
- The SDK is based on a modern and stable client library.
11
+
- The SDK should feel like "Library + Entities"
10
12
11
-
SDK should be directly derived from one of the most well known and more recent client libraries.
12
-
13
-
Highlevel goals:
14
-
1. Go with the flow of the language and the library.
15
-
2. Whatever works for the library should also work for the SDK
16
-
3. Feels like "Library + Entities".
17
-
18
-
### Underlying Library
19
-
20
-
As underlying library we use [Web3.py](https://github.com/ethereum/web3.py) (no good alternatives).
| Python | Repository |`arkiv-sdk-python`| Golem Base repo: `python-sdk` move and rename to `arkiv-python-beta`|
28
-
| Python | PIP |`pip install arkiv-sdk`| or `pip install arkiv` as `arkiv` is not available for Rust |
13
+
As underlying library we use [Web3.py](https://github.com/ethereum/web3.py) (no good alternatives for Python).
29
14
30
15
31
16
### Arkiv Client
32
17
33
-
Goal: Make Arkiv feel like "web3.py + entities", maintaining the familiar developer experience that Python web3 developers.
18
+
The Arkiv SDK should feel like "web3.py + entities", maintaining the familiar developer experience that Python web3 developers.
34
19
35
-
A `client.entities.*` approach for consistency with web3.py's module pattern. It clearly communicates that arkiv is a module extension just like eth, net, etc.
20
+
A `client.arkiv.*` approach is in line with web3.py's module pattern.
21
+
It clearly communicates that arkiv is a module extension just like eth, net, etc.
36
22
23
+
## Hello World
37
24
Here's a "Hello World!" example showing how to use the Python Arkiv SDK:
0 commit comments