Skip to main content

Codegen

w3 codegen [options]
Options:
-h, --help Show usage information
-m, --manifest-file <path> Path to the Web3API manifest file (default: web3api.yaml | web3api.yml)
-c, --codegen-dir <path> Output directory for the generated code (default: ./w3)
-s, --script <path> Path to a custom generation script (JavaScript | TypeScript)
-i, --ipfs [<node>] IPFS node to load external schemas (default: ipfs.io & localhost)
-e, --ens [<address>] ENS address to lookup external schemas (default: 0x0000...2e1e)