Skip to main content

eif

Usage: chr eif [OPTIONS] COMMAND [ARGS]...

Ethereum Integration Framework commands

╭─ Options ───────────────────────────────────────────────────────────────────╮
│ -h, --help Show this message and exit
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ──────────────────────────────────────────────────────────────────╮
│ generate-events-config Generate solidity events that EIF will listen too │
╰─────────────────────────────────────────────────────────────────────────────╯

generate-events-config

Usage: chr eif generate-events-config [OPTIONS]

Generate solidity events that EIF will listen too

╭─ Options ───────────────────────────────────────────────────────────────────╮
│* --abi=PATH Path to a JSON ABI file or a directory of JSON ABI │
│ files │
│* --events=TEXT Names of the relevant events (Comma separated)
--target=PATH Target file to generate events in (defaults to │
"build/events.yaml")
--format=(XML|YAML) Output file format (default: YAML)
│ -h, --help Show this message and exit
╰─────────────────────────────────────────────────────────────────────────────╯

The Ethereum Integration Framework (EIF) command chr eif generate-events-config allows you to generate Solidity events related to certain actions within the dapp (for example, user registrations, token transfers, or other important activities). EIF would monitor and use these events to monitor the Ethereum blockchain and trigger specific responses when these events occur.