Skip to content

dry-tortuga/sounds-of-summer-2024

Repository files navigation

Sounds Of Summer (08/28/2024)

The Sounds Of Summer collection features an audio medley of 5 quintessential summer bird songs and a unique visualization using Base Colors. They blend the ideas of Base Colors and Songbirdz, drawing inspiration from the Soulbounds project created by @0FJAKE and @apex_ether.

Mint NFTs with an audio recording that is animated using an 8x8 grid of hex color codes.

The SVG images and HTML animations are generated on-chain and stored fully on-chain on Base.

The audio recording is stored on IPFS due to size limitations: https://ipfs.io/ipfs/QmfXfhTzbjhvs8BzFNPLd8munjcawVxYrjwcrhHqBtTsEa

The audio recording features songs and calls from the following 5 birds:

These 5 Base Colors are permanently featured in the center 4x4 of the grid.

Minting

Songbirdz by drytortuga.base.eth

Base Colors by Jake

Solidity

The ERC721A contract is in the ./contracts/SoundsOfSummer.sol file.

Hardhat configuration for the contract is in the ./hardhat.config.js file.

There are 2 scripts related to the ERC721 contract:

  1. ./scripts/deployContract.js can be used to deploy the contract to the local, test, and production environments.

  2. ./scripts/generateAllowList.js can be used to generate an allowlist (i.e. merkle tree) for the free mint function.

HTML

The code for the HTML animation is in the index.html file with hardcoded variables for tokenId, audioFileUrl, and audioFirstFrameBase64.

You can open this file locally in order to test and make any changes as needed.

Once the HTML code is finalized, run it through a minimizer, and then store in the solidity contract!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published