1.2.0 • Published 5 years ago

magicwallet-bts-pay v1.2.0

Weekly downloads
5
License
ISC
Repository
github
Last release
5 years ago

magicwallet-bts-pay

Installation

To install magicwallet-bts-pay,use npm

npm install magicwallet-bts-pay 

Usage

<script src="magicwallet-bts-pay.js"></script>
  1. get bts account
magicWalletBtsPay.magicwalletGetBtsAccount(function(account){
  console.log(account)
},function(error){
  console.log(error)
});
  1. confirm pay
magicWalletBtsPay.magicwalletConfirmPay(pay_account,pay_asset,pay_amount,order_id)
  1. close(用于关闭页面使用,platform参数会在magicwallet_get_bts_account方法中获取到)
magicWalletBtsPay.magicwalletCloseButton (platform)
  1. 有两个方法用于APP发送账号数据和接受支付数据
magicWalletBtsPay.magicwalletSendBtsAccount()
magicWalletBtsPay.magicwalletGetPayParams()
1.2.0

5 years ago

1.1.13

6 years ago

1.1.12

6 years ago

1.1.11

6 years ago

1.1.9

6 years ago

1.1.8

6 years ago

1.1.7

6 years ago

1.1.6

6 years ago

1.1.5

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago