Skip to content

Wasm

The wasm or webassembly filter will allow a wasm binary to be executed as a stage within the pipeline. Therefore, it’s possible to write a stage in any language that supports wasm.

Configuration

Adding the following section to the daemon config file will enable the filter as part of the pipeline:

[[filters]]
type = "WasmPlugin"
path = "./extract_fee/plugin.wasm"

Follow this example to build a plugin wasm in golang example