Format for RGB contract media kit API #162
dr-orlovsky
started this conversation in
Proposals
Replies: 1 comment 3 replies
-
Why can't this information be encoded into the supplement itself? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
RGB contracts can be shipped together with a supplement (a part of the consignment) signed by a developer. This can be a contract developer - or wallet developer, or any other party whose signature a user trusts.
As a part of the supplement, we have a "media kit" - a URL pointing to where a wallet and other software may retrieve actual icons, images, colours and other things related to the contract.
I propose to define a response of the server on that URL as an LNPBP standard. I propose that the server should respond with JSON object with the following structure:
Any other ideas?
Beta Was this translation helpful? Give feedback.
All reactions