Open criadoperez opened 3 weeks ago
Example of format:
{
"Asset-Address":"0x51C9d1b8e91F8eC32dA1cc6DcEb5B1f606e2e311",
"data-provider": "Revelator",
"provider-channel": "Example",
"description": "This asset only represents streaming revenue collected by Revelator Distribution; The associated track may be generating additional income off-chain",
"data": {
"2023": {
"January": 43.43,
"February": 46.15,
"March": 41.52,
"April": 32.48,
"May": 40.92,
"June": 48.35,
"July": 49.52,
"August": 57.54
}
}
}
@revelator-labs we need to confirm this will be the final format
@criadoperez should we maybe add currencey symbol to each amount?
@criadoperez should we maybe add currencey symbol to each amount?
Good idea. But I would suggest to add currency as another field. "$" can be ambiguous for example as they are multiple types of dollar.
So something like this:
{
"Asset-Address":"0x51C9d1b8e91F8eC32dA1cc6DcEb5B1f606e2e311",
"data-provider": "Revelator",
"provider-channel": "Example",
"currency":"US dollar"
"description": "This asset only represents streaming revenue collected by Revelator Distribution; The associated track may be generating additional income off-chain",
"data": {
"2023": {
"January": 43.43,
"February": 46.15,
"March": 41.52,
"April": 32.48,
"May": 40.92,
"June": 48.35,
"July": 49.52,
"August": 57.54
}
}
}
@revelator-labs DDEX has a standard message for this, the Digital Sales Report (DSR), which means we just use that one instead of creating our own json format.
@0xbarath please take into account this change.
Payments providers should be able to upload a JSON file which history of offchain payments of a specific asset.