I wrote a #BehaviorForHavior an algorithm,

Should be relatively simple to implement.

Add Lightning Satoshi attribute for any behavior (Behavior)

For example, commenting on posts under other people's accounts.

A total of 10 Sats will be consumed

Only when the behavior (Behavior) event completes the following actions, it can be broadcast after being signed by the private key of the actor and successfully verified by the client and the repeater.

1. Send Satoshi to the client operator and the repeater's lightning network acceptance address A (10 Sats*20%), and the remaining 8 Sats.

IF (if commenting on post B directly)

2. The remaining 8 Sats are all sent to the lightning network address B of the post owner

IF (if comment C of comment post)

3. First send 20% of the remaining 8 Sats to the personal Lightning Network address C of the comment C that directly replied, that is (8 Sats*20%).

The remaining 6 Sats are sent to the lightning network address B of the poster B.

IF (if comment D of comment C of comment post B)

4. First send 20% of the remaining 8 Sats to the personal Lightning Network address D of the comment D that directly replied, that is (8 Sats*20%).

a) Twenty percent (rounded) of the next 6 Sats sent to Lightning Network address C of comment C of the post. 5 Sats left.

b) Twenty percent of the next 5 Sats will be sent to post owner B

And so on, until post owner B can only get 1 Satoshi, the comments on the post comments... cannot be commented on.

Reply to this note

Please Login to reply.

Discussion

No replies yet.