1.1.2 • Published 6 years ago

coinswitch-pay-stake v1.1.2

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

Install

$ npm install --save coinswitch-pay-stake

Usage

See demo.html for sample setup
Put the css on your page

<link rel="stylesheet" type="text/css" href="dist/css/coinswitch-pay-stake.min.css">

and the script

<script src="/dist/js/coinswitch-pay-stake.js"></script> add id="coinswitch-pay" to the element you want to bind the popup to

Configuration example

let config = {
    merchant_id: 'xxxxx',
    coin_configuration: {
        coins: [{
                symbol: 'ETH',
                address: "xxxx"
            },
            {
                symbol: 'BTC',
                address: "xxxx"
            },
            {
                symbol: 'LTC',
                address: "xxxx"
            }
        ],
        default_coin: 'btc'
    }
}

let cs = new Coinswitch(config);
1.1.2

6 years ago

1.1.1

6 years ago

1.0.1

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago