Last active
March 30, 2022 19:44
-
-
Save aaronpenne/4256c9839124fd01e806bd2aad737d57 to your computer and use it in GitHub Desktop.
Template for recreating Within/Without artwork locally using 3 pieces of blockchain data.
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1" /> | |
</head> | |
<body> | |
<script> | |
tokenData = { | |
// replace these values with the output from tokenIdToTokenData for your tokenId | |
hash: "0x512f271754139569d509ec584efe39506c834e77575057f32df9c3dca2e96b80", // string | |
fingerprintsBalance: 5000000000000000000000 / 10 ** 18, // leave the `/ 10**18` | |
}; | |
// paste the artwork script here (from the `script` function or from the most recent`setScript` tx data) | |
// ... | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
where?