đĨļApollo and ServicesAPI
Custom interfaces for KLYNTAR Services in Apollo
Here we will tell you how to develop and add the functionality of services to use them in a single interface
A little information
It would be cool if the wallets you used previously generated an interface and fields directly for each Dapp and / or smart contract with which you interact. In addition, wallet developers may make some mistakes and will not always keep up with all the latest in the industry.
In KLYNTAR, service developers can create their own interfaces and APIs to interact with them.
So, for example, if you go to a service that will represent a decentralized exchange, you will see the necessary input fields, useful information taken from the API of the website of the developers of this service.
If this is a Play-to-Earn service, then you can see your collection in a beautiful showcase, and through the Telegram API, publish ads for sale in the necessary Telegram channels.
In terms of directory tree - nothing new
New APIs are connected using configuration settings
In OPTIONS you specify a prefix for your service. Thus, the full path to the main API service page will be http(s)://localhost:9691/services/<YOUR_PREFIX>
You can also choose an alias for the service (option ALIAS). It is recommended to choose something that is understandable to you.
Also specify TYPE=service as in the example above. This is necessary to distinguish services from other routes.
Finally, restart Apollo and go to the services section.
Buttons will appear on the side that will lead you to the main API page of your service
Coming soon đģ
More information to come in the future
Last updated