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>
@aaronpenne
Copy link
Author

This template is for recreating an artwork from the Within/Without project locally.
Within/Without is a fully on-chain generative art project by Aaron Penne in partnership with FingerprintsDAO.

More details can be found here:
    https://www.aaronpenne.io/work/withinwithout 
and on the minting site:
    http://withinwithout.xyz/

All necessary data to recreate your artwork is stored on the Ethereum blockchain in a single smart contract:
    https://etherscan.io/address/0xbdc5a3a7517b8f175f5a16de496e178076092593#readContract

There are 3 points where you will replace or insert data pulled from the smart contract.
Instructions are in the comments below.
Enjoy!

@thaisfperez
Copy link

where?

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