Deploying Web3 Functions
Web3 Functions are deployed and stored on IPFS
To compile your Web3 Function and deploy it to IFPS, use
npx hardhat w3f-deploy W3FNAME
Example:
npx hardhat w3f-deploy oracle
Once uploaded, Gelato Nodes will pin the file on your behalf on IPFS. If the upload was successful, you should get the IPFS CID of your Web3 Function returned.
✓ Web3Function deployed to ipfs.
✓ CID: Qma38sNyNauNrk9ntHeQgSdQs9yLJiqDd8Hvb4bdav6JUz
Note: This CID will be different for every new Web3 Function version that you will deploy.
Last modified 17d ago