Post Milestone Lore
Post a lore using Client-Id and Client-Secret
Milestone Lores are automated background lores which Publishers can post on NFT holder's behalf on a specific NFT. This is a signature free way of posting a lore and is instead validated using a unique
Client-Secreta publisher can use alongside their unique
Some examples of Milestone Lores are:
- Posting a backlink and a dynamic screenshot of a gallery where the NFT is featured.
- In-game achievement screenshot for the NFT avatar
- A custom HTML embed featuring the NFT
Client-Secret carry many privileges, so please keep them secure! Do not share your secret in publicly accessible platforms or front-end. If your Client-Secret or Client-id is compromised, we can provide a replacement.
Here is an overview of what is
Note: Another thing which is unique to a
Publisherbut not part of the payload is
publisherWalletAddress. As a Publisher, we want you to sign up on Hyype and let us know your Milestone Tag and wallet address associated with the Hyype account you want to publish from.
Please reach out to Hyype by writing at [email protected] or reaching out to us on our discord / twitter.
Post Milestone Lore
Take a look at how you might want to pass the payload via
curl --location --request POST 'https://api.hyy.pe/api/v1/lore-webhook/<YOUR_CLIENT_ID_HERE>' \
--header 'client-secret: <YOUR_CLIENT_SECRET_HERE>' \
--header 'Content-Type: application/json' \
"text": "Adding a brand new lore milestone featuring this NFT"
"text": "Check out the Showcase image below"
Why create milestone lores?
Publishers can create milestone lores whenever an update happens on their platform based on a wallet interaction. This removes the need of wallet owner manually recording this event for their NFT and automates the whole intent.
Can milestone lores be deleted?
Milestones lores can be removed by the NFT owner and Project admin(s) / Loremasters the same way you can remove a user submitted backstory.
As a publisher, why do i need to sign up on Hyy.pe & have a unique lore tag?
Every lore that is created is attributed to 4 things -
NFTinside that collection
Author(which is an ethereum wallet address) &
As a publisher, for e.g. if you are a game developer - you want the Milestone Lores being created under your publisher account (similar to your twitter handle) on hyy.pe so people could follow it for global feeds. And Similarly, the Lore tags can help you filter out only your updates if you are interested in using the All lores API to get the same events to be displayed in your game.