We are looking for a developer who can build and deploy a smart contract with the following functionality:
- NFT smart contract (ERC-721)
- When the mint function is triggered, the smart contract must call an external API (probably through Chainlink) and will receive as a response a URL to the IPFS JSON file. This URL must be saved as the URI metadata of the NFT. Behind the API we have a physical camera that takes a picture and uploads this to IPFS (this is not part of the job)
- The API can also be called to check if the camera is active or not. The mint function must only succeed when the camera is active.
- The NFT is sold for a fixed price. For the initial sale, the amount is distributed to 3 adresses based on fixed percentages. For a secondary sale, the 30% of the sale price is distributed to these three addresses.