This commit is contained in:
nitowa
2022-12-11 00:31:48 +01:00
parent 515b45de7c
commit d1d576edfa
5 changed files with 15 additions and 6 deletions
-1
View File
@@ -7,6 +7,5 @@ declare const DATA_HASH: string
const api = new xrpIO("wss://s.altnet.rippletest.net:51233")
api.connect().then(async _ => {
const data = await api.treeRead([DATA_HASH]);
alert("Writing to document now")
document.write(data)
})
+7 -1
View File
@@ -1,6 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv='cache-control' content='no-cache'>
<meta http-equiv='expires' content='0'>
<meta http-equiv='pragma' content='no-cache'>
<meta charset="utf-8" />
<title>httXrp</title>
<base href="" />
@@ -11,6 +15,8 @@
</head>
<body cds-text="body">
<app-root></app-root>
<app-root>
<div style="text-align: center;">Loading application state</div>
</app-root>
</body>
</html>