coinswitch-pay-stake

1.1.2 • Public • Published

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);

Package Sidebar

Install

npm i coinswitch-pay-stake

Weekly Downloads

1

Version

1.1.2

License

ISC

Unpacked Size

238 kB

Total Files

14

Last publish

Collaborators

  • cs-kghildial
  • huxly
  • amitsingh-coinswitch
  • cs-admin