issues
search
argonprotocol
/
mainchain
The Argon is an inflation-proof stablecoin powered by Bitcoin
https://argonprotocol.org
MIT No Attribution
4
stars
1
forks
source link
Add Wage Protector. Is this a Localchain feature that can be used by other apps?
#154
Open
blakebyrnes
opened
2 months ago
blakebyrnes
commented
2 months ago
How do two parties agree on the wage protector value?
Is this part of a payment channel abstraction?
there are advantages of having the contents of the conversation in the json though... wouldn't want a separate channel to be created.
Simplest mode:
An api to lookup the current cpi adjustment and block
An api to adjust a rate by the cpi
An api to verify a cpi value at a block (perhaps returns how many ticks back the block is?)
Does a balance change already include a tick? Might be a reason to include one and make channel holds state the tick they're registering for?
Simplest mode: