build-lz-options
Create LayerZero OApp Options
This package provides a convenient way to build and serialize Options for LayerZero OApps.
npx build-lz-options@latest
yarn build-lz-options
pnpm build-lz-options
bunx build-lz-options
Warnings
:warning: Warning: Options do not specify any lzReceive gas
The default LayerZero ExecutorFeeLib requires the sum of lzReceive gas for all Options for a message is a positive
integer. This is classified as a warning and not an error, as build-lz-options
tool is not aware of the context in
which the generated Options are used. For example, Options may be combined elsewhere in the application, perhaps with
OApp Enforced Options, and the result will have a positive lzReceive gas sum.