[Feature] Add custodial mode
See original GitHub issueCurrently, the instance admin is the only one able to use Lightning, as the private keys are necessary to accept payment, and it is impossible to do the xpub style of “the server just generates addresses” for non-custodial usage.
Proposal:
Add a custodial mode where separate stores and users can be created from the instance admin's lightning and the instance admin's xpubs.
This will require a few extra changes to such accounts.
A custodial account must also store:
- A history of amounts paid and unpaid that the store admin can view but not change or delete.
- Each payment entry should have a state of “reimbursed/not reimbursed” (it will be changed to reimbursed once the custodian has paid out in fiat or crypto (whatever is agreed upon).
- Each store of a custodial account should have an option to select which currencies to be reimbursed in, and by what percentage. (including fiat and crypto)
- The admin account should have a setting for which currencies that they can reimburse with… only currencies explicitly selected in this setting can be chosen by the custodial account.
Also needs solving:
- What APIs should an exchange / processor provide to btcpayserver?
- What APIs should the btcpayserver provide to the exchange / processor?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:4
- Comments:29 (17 by maintainers)
Top Results From Across the Web
Add custodians to an eDiscovery (Premium) case
To add custodians to a case, you must be a member of the eDiscovery Manager role group. This provides you with the necessary...
Read more >MetaMask Institutional Introduces Custodian Account Multi- ...
This will give custodians the capabilities to add, sign, and broadcast any custom RPC url specified by the user—making the roll out of...
Read more >AWS Execution Modes
Pull mode execution of a policy. Queries resources from cloud provider for filtering and actions.
Read more >Considerations for using Chain of Custody verification for 7 ...
The SnapLock Chain of Custody verification can take a significant amount of time based on the number of files on the 7-Mode SnapLock...
Read more >Approve or reject the processing of custodial and non- ...
Navigate to All > Legal Request > Legal Counsel Center. · Click the list icon ( · In the Lists tab, under My...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@brainharrington I’m currently making good progress on that front. Hope we can release a v0.1 soonish 😃
From btcpay point of view, it is harder and we don’t want to couple btcpay to lnbits explicitly. Having it as a lightning node simplifies work considerably.
On Fri, 7 Aug 2020, 14:47 losnappas, notifications@github.com wrote: