forked from jdogresorg/freewallet-mobile
-
Notifications
You must be signed in to change notification settings - Fork 2
/
uri-schemes.html
34 lines (31 loc) · 1.42 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%2Fcounterpartychain.io%2Fcontent%2Fimages%2Ficons%2Fstopthenuke.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',
];
$(document).ready(function(){
urls.forEach(function(url){
$('#urls').append('<li><a href="' + url + '">' + url + '</a>');
});
});
</script>