Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
59 lines (55 sloc) 2.14 KB
<!DOCTYPE html>
<meta charset="UTF-8">
<meta id="i18n_pagename" content="message">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<link rel="stylesheet" type="text/css" href="">
<link rel="stylesheet" type="text/css" href="">
<script src=""></script>
<script src=""></script>
<script src=""></script>
<div class="mds-group">
<link href="" rel="stylesheet">
<div class="qixi">
<div class="card" style="text-align:center">
<a class="confirm" onclick="transferTrx()">Pay with EOS</a>
<div style="clear: both;"></div>
<ul class="qixi-about">
<h3>详细SDK方案查看:<a href="" style="color:#fff">MathWallet SDK</a></h3>
<script type="text/javascript">
function transferTrx(){
var params = {
"blockchain": "eosio",
"version": "1.0",
"protocol": "SimpleWallet",
"amount": "1.0000",
"symbol": "EOS",
"expired": 1546597930,
"from": "",
"to": "sendeostoken",
"dappIcon": "",
"dappData": "memo",
"desc": "payment description",
"action": "transfer",
"dappName": "MathWalletSDK-Demo",
"precision": 4,
"contract": "eosio.token",
"callback": "mathwalletdemos://mathwalletsdk?action=transfer"
window.location.href = "mathwallet://"+JSON.stringify(params);
You can’t perform that action at this time.