Post History
Yes. Your specific use case can already be implemented via KIP 10, that enables some covenants functionality. Assuming Alice wants to grant Bob the permission to charge her with 10 KAS/month, she ...
#1: Initial revision
Yes. Your specific use case can already be implemented via [KIP 10](https://github.com/kaspanet/kips/blob/master/kip-0010.md), that enables some covenants functionality. Assuming Alice wants to grant Bob the permission to charge her with 10 KAS/month, she sends some funds to a script that enforces: 1. Alice can spend the UTXO unconditionally. 2. If Bob wants to spend, he needs to wait 100 blocks (or any other number). This can be enforced via `100 OpCheckSequenceVerify`. 3. Bob's transaction has to only have two outputs, 1 that goes to Bob and sends 10 KAS, and the that goes to the same address the UTXO was spent from, and send there the rest of the funds (except for some fee). This can be done with combination of `OpTxInputIndex`,`OpTxOutputCount`, `OpTxInputAmount`, `OpTxInputSpk`, `OpTxOutputAmount` and `OpTxOutputSpk`.
