Skip to content

Commit

Permalink
trying to improve mental models
Browse files Browse the repository at this point in the history
  • Loading branch information
ardan-bkennedy committed Mar 17, 2024
1 parent 267bbbf commit 3c5143a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions app/services/ui/website/scripts/init.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
const app = new App("http://0.0.0.0:3000");

window.onload = function () {
app.init();
}

const sdk = new MetaMaskSDK.MetaMaskSDK({
dappMetadata: {
name: "Pure JS example",
url: window.location.host,
},
logging: {
sdk: false,
}
});

$.ajaxSetup({
contentType: "application/json; charset=utf-8",
});

0 comments on commit 3c5143a

Please sign in to comment.