A dynamic SVG NFT project that uses chainlink functions to fetch off chain data from the BuidlGuidl API. All BuidlGuidl members with at least 1 published build are welcome to mint an NFT with a dynamic background color that changes based on the number of builds submitted!
- Clone the repo
git clone https://github.com/MattPereira/only-buidlors- Install the packages with yarn
yarn install
-
Add a
.envfile to/packages/nextjswith a validALCHEMY_API_KEY. (The frontend does not expose it because its only used in route handlers) -
Start the project on localhost
yarn start
-
The deployment script is setup to automatically add any freshly deployed contract to a chainlink functions subscription, but the subscription itself must be created at functions.chain.link
-
Change the subscriptionId for the corresponding network where your subscriptionw was created in the
HelperConfig.s.sol -
Change
SUBSCRIPTION_IDconstant on the frontend homepageindex.tsxwhich is needed for kicking off request to chainlink functions node
-
Add
.envfile to/packages/foundrywith a validPRIVATE_KEYandETHERSCAN_API_KEY -
Run the deploy command
yarn deploy --network arbitrumSepolia
*Foundry HelperConfig.s.sol script is also setup to support deployment to eth-sepolia and mumbai
- Scaffold ETH 2
- Chainlink Functions
- Alchemy NFT API

