Description
This pen shows how to make an HTML-only widget that buys a token on the distributed exchange. It uses the CosmicLink protocol.
Link: https://codepen.io/cosmic-plus/pen/zYOROWW?editors=1000#0
Hint: use "Change View" to pick a layout that fits your screen.
Preview
Concepts
- Distributed Exchange: The decentralized currency exchange embedded into the Stellar protocol.
- CosmicLink: A protocol that encodes Stellar transactions into URIs.
- GILS: An asset that rewards people who solve Pen of the Week challenges.
About
Pens of the Week are code snippets that show how to implement a Stellar-related feature in JavaScript.
The end-goal is to provide a wide collection of examples that support developers in coding their applications; And to trigger community discussions around the showcased features.
Popular pens | Follow on Twitter | Read more...