---
# System prepended metadata

title: codegen wasm

---

## codegen wasm 0.4
```shell=
$ npx codegen
✔ Loading manifest from ./polywrap.plugin.yaml...
✔ Project detected: 'wrapper-name1', project type: 'wasm'
✔ Loading schema from ./src/schema.graphql...
✔ Adding imports: ethereum.polywrap.eth, datetime.polywrap.eth...
✔ Writing ABI to ./build/info.wrap...
✔ Loading manifest from ./polywrap.plugin.yaml...
✔ Language detected: `wasm/assemblyscript`
✔ Binding module selected: `wasm/assemblyscript`
✔ Writing bindings to ./src/wrap...
🔥 Types were generated successfully 🔥
```
## codegen wasm 0.3
```shell=
$ npx codegen
✔ Manifest loaded from ./polywrap.plugin.yaml
✔ Project detected: 'wrapper-name1', project type: 'wasm'
✔ Schema loaded from ./src/schema.graphql
✔ Imports added: ethereum.polywrap.eth, datetime.polywrap.eth
✔ ABI written to ./build/info.wrap
✔ Language detected `wasm/assemblyscript`
✔ Binding module selected...
✔ Bindings written to ./src/wrap
🔥 Types were generated successfully 🔥
```

## codegen wasm 0.2
```shell=
$ npx codegen
✔ Generating bindings for 'wrapper-name1', project type: 'wasm'
✔ Manifest loaded from ./polywrap.plugin.yaml
✔ Reading the schema file: ./src/schema.graphql
✔ Processing imports: ethereum.polywrap.eth, datetime.polywrap.eth
✔ Parsing composed schema...
✔ ABI written to: ./build/info.wrap
✔ Detecting the language: `wasm/assemblyscript`
✔ Selecting the binding module...
✔ Running the bindings...
🔥 Types were generated successfully 🔥
```

## codegen wasm 0.1
```shell=
$ npx codegen
## open the polywrap project: wrapper-name1
### detect the project type: wasm
## parse the schema...
### read the schema file: ./src/schema.graphql
### process imports: ethereum.polywrap.eth, datetime.polywrap.eth
### parse composed schema...
### create the ABI...
## generate bindings...
### detect the language: wasm/assemblyscript
### select the binding module...
### run the bindings...
```

## codegen 0.0
```shell=
$ node ../../../../dependencies/node_modules/polywrap/bin/polywrap codegen
- Manifest loaded from ./polywrap.plugin.yaml
✔ Manifest loaded from ./polywrap.plugin.yaml
- Generate types
✔ Generate types
- Manifest written to ./build/wrap.info
✔ Manifest written to ./build/wrap.info
🔥 Types were generated successfully 🔥
```
## build 0.0
```shell=
$ npx polywrap build
✔ Manifest written to ./build/wrap.info
✔ WRAP manifest written in ./build/wrap.info
✔ Manifest loaded from ./../../../cli/build/lib/defaults/build-images/wasm/assemblyscript/polywrap.build.yaml
⠼ Building source image `template-wasm-as` using dockerfile `./.polywrap/wasm/build/image/Dockerfile` in context `./`
```