1
0
mirror of https://github.com/oceanprotocol-archive/squid-js.git synced 2024-02-02 15:31:51 +01:00
squid-js/test.html

28 lines
750 B
HTML
Raw Normal View History

2018-11-26 15:24:59 +01:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<script src="dist/umd/squid.js"></script>
<script>
const config = {
// web3Provider: web3 ? web3.currentProvider : null,
aquariusUri: "http://localhost:5000",
brizoUri: "http://localhost:8030",
parityUri: "http://localhost:9545",
secretStoreUri: "http://localhost:12001",
threshold: 0,
password: "unittest",
address: "0xed243adfb84a6626eba46178ccb567481c6e655d",
}
squid.Ocean
.getInstance(config)
.then(ocn => {
console.log(ocn)
})
</script>
</head>
<body>
</body>
</html>