File tree Expand file tree Collapse file tree 8 files changed +319
-1
lines changed
resources/fast-token-onboarding Expand file tree Collapse file tree 8 files changed +319
-1
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!DOCTYPE token [
3
+ <!ENTITY style SYSTEM " ../shared.css" >
4
+ <!ENTITY guide.en SYSTEM " guide.en.shtml" >
5
+ ]>
6
+ <ts : token xmlns =" http://www.w3.org/1999/xhtml"
7
+ xmlns : ts =" http://tokenscript.org/2019/05/tokenscript"
8
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
9
+ custodian =" false"
10
+ xsi : schemaLocation =" http://tokenscript.org/2019/05/tokenscript"
11
+ >
12
+ <ts : name >
13
+ <ts : string xml : lang =" en" >DDEX pDAI</ts : string >
14
+ </ts : name >
15
+ <ts : contract interface =" erc20" name =" pDAI" >
16
+ <ts : address network =" 1" >0x6f9D718CaF76055E697AdfFD5E9f9f94753a7501</ts : address > <!-- mainnet-->
17
+ </ts : contract >
18
+
19
+ <ts : origins >
20
+ <!-- Define the contract which holds the token that the user will use -->
21
+ <ts : ethereum contract =" pDAI" > <!-- as above ts:contract name -->
22
+ </ts : ethereum >
23
+ </ts : origins >
24
+
25
+ <ts : cards >
26
+
27
+ <ts : token-card >
28
+ <ts : view-iconified />
29
+ <ts : view >
30
+ </ts : view >
31
+ </ts : token-card >
32
+
33
+ <ts : action >
34
+ <ts : name >
35
+ <ts : string xml : lang =" en" >Guide</ts : string >
36
+ </ts : name >
37
+ <style type =" text/css" >&style; </style >
38
+ <ts : view xml : lang =" en" >&guide.en; </ts : view >
39
+ </ts : action >
40
+
41
+ </ts : cards >
42
+ <ts : attribute-types >
43
+ <!-- placeholder for future functions -->
44
+ <ts : attribute-type id =" symbol" syntax =" 1.3.6.1.4.1.1466.115.121.1.26" >
45
+ <ts : origins >
46
+ <ts : ethereum as =" utf8" function =" symbol" >
47
+ </ts : ethereum >
48
+ </ts : origins >
49
+ </ts : attribute-type >
50
+ </ts : attribute-types >
51
+ </ts : token >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!DOCTYPE token [
3
+ <!ENTITY style SYSTEM " ../shared.css" >
4
+ <!ENTITY guide.en SYSTEM " guide.en.shtml" >
5
+ ]>
6
+ <ts : token xmlns =" http://www.w3.org/1999/xhtml"
7
+ xmlns : ts =" http://tokenscript.org/2019/05/tokenscript"
8
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
9
+ custodian =" false"
10
+ xsi : schemaLocation =" http://tokenscript.org/2019/05/tokenscript"
11
+ >
12
+ <ts : name >
13
+ <ts : string xml : lang =" en" >DDEX pETH</ts : string >
14
+ </ts : name >
15
+ <ts : contract interface =" erc20" name =" pETH" >
16
+ <ts : address network =" 1" >0x26F5f49E3bb3626b53E4573F07F8587F010019B5</ts : address > <!-- mainnet-->
17
+ </ts : contract >
18
+
19
+ <ts : origins >
20
+ <!-- Define the contract which holds the token that the user will use -->
21
+ <ts : ethereum contract =" pETH" > <!-- as above ts:contract name -->
22
+ </ts : ethereum >
23
+ </ts : origins >
24
+
25
+ <ts : cards >
26
+
27
+ <ts : token-card >
28
+ <ts : view-iconified />
29
+ <ts : view >
30
+ </ts : view >
31
+ </ts : token-card >
32
+
33
+ <ts : action >
34
+ <ts : name >
35
+ <ts : string xml : lang =" en" >Guide</ts : string >
36
+ </ts : name >
37
+ <style type =" text/css" >&style; </style >
38
+ <ts : view xml : lang =" en" >&guide.en; </ts : view >
39
+ </ts : action >
40
+
41
+ </ts : cards >
42
+ <ts : attribute-types >
43
+ <!-- placeholder for future functions -->
44
+ <ts : attribute-type id =" symbol" syntax =" 1.3.6.1.4.1.1466.115.121.1.26" >
45
+ <ts : origins >
46
+ <ts : ethereum as =" utf8" function =" symbol" >
47
+ </ts : ethereum >
48
+ </ts : origins >
49
+ </ts : attribute-type >
50
+ </ts : attribute-types >
51
+ </ts : token >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!DOCTYPE token [
3
+ <!ENTITY style SYSTEM " ../shared.css" >
4
+ <!ENTITY guide.en SYSTEM " guide.en.shtml" >
5
+ ]>
6
+ <ts : token xmlns =" http://www.w3.org/1999/xhtml"
7
+ xmlns : ts =" http://tokenscript.org/2019/05/tokenscript"
8
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
9
+ custodian =" false"
10
+ xsi : schemaLocation =" http://tokenscript.org/2019/05/tokenscript"
11
+ >
12
+ <ts : name >
13
+ <ts : string xml : lang =" en" >DDEX pUSDT</ts : string >
14
+ </ts : name >
15
+ <ts : contract interface =" erc20" name =" pUSDT" >
16
+ <ts : address network =" 1" >0x7a6aAB486A2Bed37c7Cd523Eb60B3A42533f8906</ts : address > <!-- mainnet-->
17
+ </ts : contract >
18
+
19
+ <ts : origins >
20
+ <!-- Define the contract which holds the token that the user will use -->
21
+ <ts : ethereum contract =" pUSDT" > <!-- as above ts:contract name -->
22
+ </ts : ethereum >
23
+ </ts : origins >
24
+
25
+ <ts : cards >
26
+
27
+ <ts : token-card >
28
+ <ts : view-iconified />
29
+ <ts : view >
30
+ </ts : view >
31
+ </ts : token-card >
32
+
33
+ <ts : action >
34
+ <ts : name >
35
+ <ts : string xml : lang =" en" >Guide</ts : string >
36
+ </ts : name >
37
+ <style type =" text/css" >&style; </style >
38
+ <ts : view xml : lang =" en" >&guide.en; </ts : view >
39
+ </ts : action >
40
+
41
+ </ts : cards >
42
+ <ts : attribute-types >
43
+ <!-- placeholder for future functions -->
44
+ <ts : attribute-type id =" symbol" syntax =" 1.3.6.1.4.1.1466.115.121.1.26" >
45
+ <ts : origins >
46
+ <ts : ethereum as =" utf8" function =" symbol" >
47
+ </ts : ethereum >
48
+ </ts : origins >
49
+ </ts : attribute-type >
50
+ </ts : attribute-types >
51
+ </ts : token >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!DOCTYPE token [
3
+ <!ENTITY style SYSTEM " ../shared.css" >
4
+ <!ENTITY guide.en SYSTEM " guide.en.shtml" >
5
+ <!ENTITY moreInfo.en SYSTEM " moreInfo.en.shtml" >
6
+ ]>
7
+ <ts : token xmlns =" http://www.w3.org/1999/xhtml"
8
+ xmlns : ts =" http://tokenscript.org/2019/05/tokenscript"
9
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ custodian =" false"
11
+ xsi : schemaLocation =" http://tokenscript.org/2019/05/tokenscript"
12
+ >
13
+ <ts : name >
14
+ <ts : string xml : lang =" en" >dForce USDx</ts : string >
15
+ </ts : name >
16
+ <ts : contract interface =" erc20" name =" USDx" >
17
+ <ts : address network =" 1" >0xeb269732ab75A6fD61Ea60b06fE994cD32a83549</ts : address > <!-- mainnet-->
18
+ </ts : contract >
19
+
20
+ <ts : origins >
21
+ <!-- Define the contract which holds the token that the user will use -->
22
+ <ts : ethereum contract =" USDx" > <!-- as above ts:contract name -->
23
+ </ts : ethereum >
24
+ </ts : origins >
25
+
26
+ <ts : cards >
27
+
28
+ <ts : token-card >
29
+ <ts : view-iconified />
30
+ <ts : view >
31
+ </ts : view >
32
+ </ts : token-card >
33
+
34
+ <ts : action >
35
+ <ts : name >
36
+ <ts : string xml : lang =" en" >Guide</ts : string >
37
+ </ts : name >
38
+ <style type =" text/css" >&style; </style >
39
+ <ts : view xml : lang =" en" >&guide.en; </ts : view >
40
+ </ts : action >
41
+
42
+ <ts : action >
43
+ <ts : name >
44
+ <ts : string xml : lang =" en" >More info</ts : string >
45
+ </ts : name >
46
+ <style type =" text/css" >&style; </style >
47
+ <ts : view xml : lang =" en" >&moreInfo.en; </ts : view >
48
+ </ts : action >
49
+
50
+ </ts : cards >
51
+ <ts : attribute-types >
52
+ <!-- placeholder for future functions -->
53
+ <ts : attribute-type id =" symbol" syntax =" 1.3.6.1.4.1.1466.115.121.1.26" >
54
+ <ts : origins >
55
+ <ts : ethereum as =" utf8" function =" symbol" >
56
+ </ts : ethereum >
57
+ </ts : origins >
58
+ </ts : attribute-type >
59
+ </ts : attribute-types >
60
+ </ts : token >
Load Diff Large diffs are not rendered by default.
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ NAME='YOUR COMPANY NAME'
3
3
KEYSTORE_FILE=./YOUR_KEY_FILE.p12 # of your domain
4
4
# set .p12 password in last line of xmlsectool command below
5
5
6
- TOKEN_FILE=erc20.canonicalized .xml # or erc721.canonicalized.xml
6
+ TOKEN_FILE=USDx .xml # or erc721.canonicalized.xml
7
7
SIGNATURE_ALGORITHM=rsa-sha256 # or ecdsa-sha256
8
8
9
9
echo " Signing xml with $KEYSTORE_FILE ..."
You can’t perform that action at this time.
0 commit comments