You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
poka fc8d531c0a test git 2 11 months ago
lib Improve history output 11 months ago
.env.template Improve .env import 11 months ago
.gitignore Improve .env import 11 months ago
README.md Update requirements; Add setup.sh; Update README.md 11 months ago
balance.py Add balance history; Improve history output 11 months ago
history.py test git 2 11 months ago
paiements.py Big improve on historylib code; Use bases; 11 months ago
pay.py Use plain Ḡ1 now, no cents anymore 11 months ago
requirements.txt Update requirements; Add setup.sh; Update README.md 11 months ago
setup.sh Update requirements; Add setup.sh; Update README.md 11 months ago

README.md

Just a few GVA examples usage in python.

Requierement:

bash setup.sh

Fill the path to your duniter PubSec keyfile in .env file (autogenerate on first use try, or please copy from .env.template)

Usage exemple:

Send a payment:

./pay.py -d Do99s6wQR2JLfhirPdpAERSjNbmjjECzGxHNJMiNKT3P -m 314 -c "Merci pour la pipe"

Show wallet history:

./history.py
./history.py -p Do99s6wQR2JLfhirPdpAERSjNbmjjECzGxHNJMiNKT3P