Description
This pen makes use of cosmic-lib
to generate SEP7 and CosmicLink requests from a transaction XDR. This is to let the user sign a transaction using her own wallet.
Link: https://codepen.io/cosmic-plus/pen/VwZNVzg?editors=1010#0
Hint: use "Change View" to pick a layout that fits your screen.
Preview
Concepts
- SEP7: a protocol that passes transaction requests to wallets.
- CosmicLink: another protocol that passes transaction requests from applications to wallets.
- XDR: The binary format Stellar ledger uses.
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 | Follow on GalacticTalk | Read more...