Merge pull request #59 from PrivateStorageio/56.zkap-count-web-interface
Add a web interface for retrieving the number of unblinded tokens remaining. Unblinded tokens have a one-to-one correspondence with ZKAPs. That is, the number of ZKAPs remaining is equal to the number of unblinded tokens remaining. ZKAPs are created at the point of use, though, so they cannot be counted/listed/exported/etc directly.
Showing
- default.nix 2 additions, 2 deletionsdefault.nix
- docs/source/interface.rst 17 additions, 0 deletionsdocs/source/interface.rst
- src/_zkapauthorizer/controller.py 10 additions, 2 deletionssrc/_zkapauthorizer/controller.py
- src/_zkapauthorizer/model.py 16 additions, 0 deletionssrc/_zkapauthorizer/model.py
- src/_zkapauthorizer/resource.py 84 additions, 6 deletionssrc/_zkapauthorizer/resource.py
- src/_zkapauthorizer/tests/strategies.py 31 additions, 12 deletionssrc/_zkapauthorizer/tests/strategies.py
- src/_zkapauthorizer/tests/test_client_resource.py 213 additions, 15 deletionssrc/_zkapauthorizer/tests/test_client_resource.py
- zkapauthorizer.nix 4 additions, 3 deletionszkapauthorizer.nix
Loading
Please register or sign in to comment