Deploying Web3 Functions
Web3 Functions are deployed and stored on IPFS
To compile your Web3 Function and deploy it to IFPS, use
npx w3f deploy FILENAME
Example:
npx w3f deploy src/web3-functions/examples/oracle/index.ts
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: QmRMsRbcrAHC55GL7CEAPL2aHSPWcLsK3TY8cm3wRYGKLS
Note: This CID will be different for every new Web3 Function version that you will deploy.
Last modified 1mo ago