-
Notifications
You must be signed in to change notification settings - Fork 54
/
uri-schemes.html
34 lines (32 loc) · 1.57 KB
/
uri-schemes.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<html>
<head>
<title></title>
<script type="text/javascript" src="node_modules/jquery/dist/jquery.min.js"></script>
</head>
<body>
<h2>Freewallet - Supported URI Schemes</h2>
<ul id="urls"></ul>
</body>
</html>
<script>
var urls = [
'bitcoin:1Donatet2LrNpuWByAnH8gc9Wh9zSzZuLC',
'bitcoin:1Donatet2LrNpuWByAnH8gc9Wh9zSzZuLC?amount=1.23456789',
'bitcoin:1Donatet2LrNpuWByAnH8gc9Wh9zSzZuLC?amount=1.23456789&message=test',
'counterparty:1Donatet2LrNpuWByAnH8gc9Wh9zSzZuLC',
'counterparty:1Donatet2LrNpuWByAnH8gc9Wh9zSzZuLC?amount=1.23456789',
'counterparty:1Donatet2LrNpuWByAnH8gc9Wh9zSzZuLC?amount=1.23456789&asset=XCP',
'counterparty:1Donatet2LrNpuWByAnH8gc9Wh9zSzZuLC?amount=1.23456789&asset=XCP&memo=test',
'counterparty:1Donatet2LrNpuWByAnH8gc9Wh9zSzZuLC?amount=1.23456789&asset=XCP&message=test',
'counterparty:?action=sign&message=test',
'counterparty:?action=sign&message=test&icon=https%3A%2F%2Ftokenscan.io%2Ficon%2FCOINDADDY.png&callback=http%3A%2F%2Fdev.authparty.io%2Fapi%2Fv1%2Fauthorize_login%3Fprovider%3D005f15c462fe3eb536c4bec5fef42c%26modal_id%3DbemghXSwNXxhqzd',
'counterparty:?action=broadcast&message=Some%20Message',
'counterparty:?action=signtx&tx=your-unsigned-transaction-here',
"freewallet:?action=import&device=trezor&data=%7B%2244'/0'/0'%7C0%22:%221EMV8Xz6odQrjzRExPiTZrLcFDZ3fr3Viu%22,%2244'/0'/0'%7C1%22:%221PMRoTp11MLPmayCDSkpdhD9JqCp85ZLug%22%7D"
];
$(document).ready(function(){
urls.forEach(function(url){
$('#urls').append('<li><a href="' + url + '">' + url + '</a>');
});
});
</script>