This repository has been archived on 2020-12-03. You can view files and clone it, but cannot push or open issues or pull requests.
2020-11-13 20:18:16 +01:00
|
|
|
## Just a few GVA examples usage in python.
|
|
|
|
|
2020-11-13 21:18:50 +01:00
|
|
|
**Requierement**:
|
|
|
|
```
|
2020-11-24 07:34:57 +01:00
|
|
|
bash setup.sh
|
2020-11-13 21:18:50 +01:00
|
|
|
```
|
|
|
|
|
2020-11-24 07:34:57 +01:00
|
|
|
Fill the path to your duniter PubSec keyfile in **.env** file (autogenerate on first use try, or please copy from .env.template)
|
|
|
|
|
2020-11-13 21:18:50 +01:00
|
|
|
### Usage exemple:
|
|
|
|
|
|
|
|
**Send a payment**:
|
2020-11-13 20:18:16 +01:00
|
|
|
```
|
2020-11-24 07:34:57 +01:00
|
|
|
./pay.py -d Do99s6wQR2JLfhirPdpAERSjNbmjjECzGxHNJMiNKT3P -m 314 -c "Merci pour la pipe"
|
|
|
|
```
|
|
|
|
|
|
|
|
**Show wallet history**:
|
|
|
|
```
|
|
|
|
./history.py
|
|
|
|
```
|
|
|
|
|
2020-11-13 20:18:16 +01:00
|
|
|
```
|
2020-11-24 07:34:57 +01:00
|
|
|
./history.py -p Do99s6wQR2JLfhirPdpAERSjNbmjjECzGxHNJMiNKT3P
|
|
|
|
```
|