This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
38 lines (30 loc) · 1.47 KB
/
index.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
35
36
37
38
<!doctype html>
<html lang="en-GB">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<head>
<meta charset="utf-8">
<style>
body {
background: #fafafa;
}
</style>
</head>
<body>
<bakrypt-launchpad></bakrypt-launchpad>
<script type="module">
import './dist/src/bakrypt-launchpad.js';
const launchpad = document.querySelector("bakrypt-launchpad");
Object.assign(launchpad, {
accessToken: "sxDCKVxySUibiRXPYwDA2oYrdLuorY",
refreshToken: "refreshToken",
csrfToken: "csrfToken",
// initial: '[{"blockchain":"ada","name":"first token","asset_name":"","image":"ipfs://QmevPofBhZ7jPNdbbSSa5wfL68eL5roWRwuMFaCvtWeSRf","media_type":"","description":"","files":[],"attrs":{},"amount":1,"royalties":"this is the wallet","royalties_rate":"2"},{"blockchain":"ada","name":"second token","asset_name":"","image":"ipfs://QmVnzJMU91QCdgfg4CgRpUZzcwjwywLdUhVAh6RjVEZmvg","media_type":"","description":"","files":[],"attrs":{},"amount":1},{"blockchain":"ada","name":"third token","asset_name":"","image":"ipfs://QmbFU9gtgqfFLcTy4VfBQ4KNMrBMEghVSRXdfNYmcwMbDH","media_type":"","description":"","files":[],"attrs":{},"amount":1}]'
})
launchpad.addEventListener("submit", (e) => {
console.log(e.detail)
console.log("over here!")
})
</script>
</body>
</html>