This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
/* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */ | |
margin: 0; | |
color: rgba(0, 0, 0, 0.87); | |
font-family: "Roboto", "Helvetica", "Arial", sans-serif; | |
font-weight: 400; | |
font-size: 1rem; | |
line-height: 1.5; | |
letter-spacing: 0.00938em; | |
background-color: #fff; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const g = window.gidp; | |
await g.babyzk.prepare(); | |
// Check if MetaMask is installed | |
if (typeof window.ethereum !== "undefined") { | |
console.log("MetaMask is installed!"); | |
} | |
let web3; | |
const typeRegistryAddr = `0x9b10DeBa8b339BE7f57151017a95d65a7e16e90C`; | |
const typeRegistryAbi = `[ |