Skip to content

Commit 644af4a

Browse files
committed
refactor(examples): secp256k1 transfer example
1 parent 635ca26 commit 644af4a

File tree

7 files changed

+2196
-247
lines changed

7 files changed

+2196
-247
lines changed

examples/secp256k1-transfer/index.tsx

-73
This file was deleted.

examples/secp256k1-transfer/lib.ts

-164
This file was deleted.

examples/secp256k1-transfer/package.json

+5-6
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"description": "",
66
"main": "index.js",
77
"scripts": {
8+
"start": "parcel src/index.html",
89
"lint": "tsc --noEmit"
910
},
1011
"keywords": [],
@@ -14,12 +15,10 @@
1415
"@ckb-lumos/lumos": "0.18.0",
1516
"@types/react": "^17.0.34",
1617
"@types/react-dom": "^17.0.11",
18+
"bulma": "^0.9.4",
19+
"nanoid": "^4.0.0",
1720
"react": "^17.0.2",
18-
"react-dom": "^17.0.2"
19-
},
20-
"devDependencies": {
21-
"@babel/cli": "^7.16.0",
22-
"@babel/core": "^7.16.0",
23-
"@babel/plugin-transform-modules-commonjs": "^7.16.0"
21+
"react-dom": "^17.0.2",
22+
"react-use": "^17.4.0"
2423
}
2524
}

examples/secp256k1-transfer/index.html examples/secp256k1-transfer/src/index.html

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@
44
<meta charset="UTF-8" />
55
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>Lumos Transfer</title>
7+
<title>Lumos Secp256k1 Transfer Demo</title>
88
</head>
99
<body>
10-
<div id="root"></div>
1110
<script src="index.tsx" type="module"></script>
1211
</body>
1312
</html>

0 commit comments

Comments
 (0)