akita icon indicating copy to clipboard operation
akita copied to clipboard

Differentiate payment pointers from same origin

Open sharon-wang opened this issue 5 years ago • 3 comments

If a site has multiple payment pointers, e.g. Twitch, the user might want to know which creators' payment pointers they're actually contributing to.

Example data:

	{
		"origin":"https://www.twitch.tv",
		"isMonetized":true,
		"originVisitData":{
			"timeSpentAtOrigin": 4723893,
			"numberOfVisits": 2,
			"dateOfFirstVisit": "2020-05-15",
			"dateOfMostRecentVisit": "2020-05-27"
		},
		"paymentPointerMap":{
			"https://www.twitch.tv/nasa":{
				"paymentPointer":"$spsp.coil.com/twitch/nasa",
				"sentAssetsMap":{
					"XRP":{
						"amount":5351,
						"assetScale":9,
						"assetCode":"XRP"
					}
				}
			},
			"https://www.twitch.tv/xqcow":{
				"paymentPointer":"$spsp.coil.com/twitch/xqcow",
				"sentAssetsMap":{
					"XRP":{
						"amount":11442,
						"assetScale":9,
						"assetCode":"XRP"
					}
				}
			}
		}
	}

sharon-wang avatar Jun 05 '20 00:06 sharon-wang

It would be interesting if data could be associated to the payment pointer in the meta tag, i.e. a creator ID or name, so that you can easily tell whose payment pointer it is.

sharon-wang avatar Jun 05 '20 00:06 sharon-wang

~@vezwork I believe this issue has been handled in #84 (discussion in #17). Can you confirm and close this issue if that assumption is correct?~

sharon-wang avatar Nov 20 '20 04:11 sharon-wang

I don't think the issue description for this was very well-written, that is my bad!

I believe we were discussing how it would be more meaningful to the user to know which Twitch creators they are supporting via WM in the Akita UI, versus just seeing how much payment they've streamed to Twitch overall. Web Monetized YouTube videos would be another case where the user could find more value in knowing which creators they were supporting, versus sending payment to the YouTube origin overall.

This would require making a UI change and we would need to map payment pointers to specific creators. We might consider adding this detail to the "on hover" display for Top Monetized Sites.

sharon-wang avatar Dec 28 '20 20:12 sharon-wang