Skip to content

Instantly share code, notes, and snippets.

@aaronpenne
Last active March 30, 2022 19:44
Show Gist options
  • Save aaronpenne/4256c9839124fd01e806bd2aad737d57 to your computer and use it in GitHub Desktop.
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.
<!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>
@thaisfperez
Copy link

where?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment