project-origin / wallet

OpenSource project to host wallets that contain Granular Certificates in the registries.
https://project-origin.github.io/docs/wallet
Apache License 2.0
4 stars 2 forks source link

Wallet: Implement withdraw worker #371

Closed tnickelsen closed 3 weeks ago

tnickelsen commented 2 months ago

Description

Should check Stamp if something needs to be withdrawn. This could be every hour? Configurable

0) Add remote network configuration 1) Check all issuers Stamp services, that the wallet has certificates from, if something is withdrawn 2) Save in database how for in the withdrawn list you are for each issuer Stamp service 3) update certificate status in wallet to Withdrawn 4) If certificate was claimed, unclaim the counterparts slices of the claim. Queue an activity with this foreach slice and implement the activity in #370

Use MassTransit for scheduling this job.

Story points: 13

Basic Example

No response

Drawbacks

No response

Unresolved questions

No response