{"repo":"DjedAlliance/StablePay","free":true,"listed":false,"github":"https://github.com/DjedAlliance/StablePay","clone":"git clone https://github.com/DjedAlliance/StablePay.git","description":"StablePay ✨ - A fully decentralized client-side-only widget for payments using cryptocurrencies and stablecoins","language":"JavaScript","stars":15,"topics":["blockchain","cryptocurrency","fintech","stablecoin"],"license":null,"category":"blockchain-web3","readme_excerpt":"&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; An open-source SDK empowering you to directly accept cryptocurrency and stablecoin payments free from centralized fintech infrastructure --- StablePay is a fully decentralized solution for online payments. When the StablePay widget is embedded in a website, the widget interacts directly with smart contracts on blockchains, with no intermediary servers. StablePay allows payments to be made either via the native cryptocurrency of the underlying blockchain or via decentralized stablecoins backed by these native currencies. StablePay also allows automatic conversion between the two. For example, a consumer may pay using a native cryptocurrency, but the merchant receives the payment in a stablecoin backed by that cryptocurrency. The conversion happens automatically, by interacting with the stablecoin contract to mint stablecoins. Currently, stablecoins based on the Djed stablecoin protocol deployed on EVM-compatible chains are supported. Code Structure Overview The StablePay widget itself is located in the stablepay-sdk folder. It makes use of the Djed SDK to interact with Djed stablecoin contracts. The Djed SDK is located in the djed-sdk folder. The main files of the Djed SDK and their purposes are: djed/stableCoin.js - contains functions to build transations that buy and sell stablecoins. djed/reserveCoin.js - contains functions to build transations that buy and sell reservecoins. djed/djed.js - conta","default_branch":null,"files":null,"tree":[],"storefront":"/r/DjedAlliance","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/DjedAlliance/StablePay/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}