DiviProject / Divi-Desktop-Public

Public, open source development repository for the Divi Desktop Smart Wallet
GNU General Public License v2.0
7 stars 6 forks source link

"Buy Divi" Button #84

Open Divicoin opened 5 years ago

Divicoin commented 5 years ago

Using Kasper's CryptoWolf API integration, add a "Buy Divi" button to the desktop wallet that allows users to easily purchase Divi with any of the supported cryptocurrencies.

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
 <script>
 var backend = 'divi';
 var cryptowolf = 'https://external.cryptowolf.eu/v4/';
 function defer(method) {
 if (window.jQuery) {
 $(document).ready(function() {
 method();
 });
 } else {
 setTimeout(function() {
 defer(method)
 }, 50);
 }
 }
 defer(function() {
 $("#cryptowolf").load(cryptowolf + 'mainv4.html', function() {
 $.getScript(cryptowolf + 'js/cryptowolfv4.js');
 });
 });
 </script>
Divicoin commented 5 years ago

➤ Matthew Encke commented:

Do we obtain the specs from this URL: https://cryptowolf.eu/api ?