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
+17-8Lines changed: 17 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,43 +21,47 @@ An Open Payments server runs two sub-systems, a resource server which exposes AP
21
21
22
22
## Local development
23
23
24
-
25
-
26
24
- Python >= 3.11
27
25
28
26
To install python visit [Python Download](https://www.python.org/downloads/)
27
+
29
28
- Poetry
30
29
To install poetry visit [Poetry Documentation](https://python-poetry.org/docs/).
31
30
32
31
### Installation
33
32
34
-
1. Activate your virtual emvironment. No need to create one, Poetry creates one.
33
+
1. Activate your virtual emvironment. No need to create one, Poetry creates one.
35
34
Read [managing environments in Poetry](https://python-poetry.org/docs/managing-environments/).
36
35
37
-
38
36
2. Install the dependencies in the poetry.lock
39
37
40
38
```
41
39
> poetry install
42
40
```
43
-
## Usage
44
-
To use this sdk, you will first need to install it in your project. Currently you will need to build from source but once it is hosted on pypi you will be able to install it with pip
41
+
42
+
## Usage
43
+
44
+
To use this SDK, you will first need to install it in your project. Currently, you will need to build from source but once it is hosted on PyPi you will be able to install it with `pip`.
45
45
46
46
```bash
47
47
python3 -m pip install open-payments-python-sdk #currently not setup
public_key = private_key.public_key() # derive public key from private key
108
113
```
114
+
109
115
## Wallets
110
-
You can use the created client to interact with the resource server. In this case we will use it to interact with a wallet address to get the wallet address details and jwks.json
116
+
117
+
You can use the created client to interact with the resource server. In this case we will use it to interact with a wallet address to get the wallet address details and jwks.json
You can use the created client to request a grant from the authorization server. In this case we will use it to request a grant for an incoming payment resource. Check the [fixtures](./tests/conftest.py) file to see the request body.
0 commit comments