Skip to content

fcf list

Reads recent RepoRegistered events from the RIK contract and prints them as plain text.

Usage

bash
fcf list --contract <addr> [--from-block <n>]

Options

OptionDefaultDescription
--contract <addr>requiredThe deployed RIK contract address to query.
--from-block <n>current_block - 50000Block to start scanning from.

Output

One line per event:

text
repo=<repository_id> ownerId=<github_owner_id> registrant=<address> at=<unix_seconds>

For example:

text
repo=871234567 ownerId=421337 registrant=0xabc...def at=1717499432
repo=903456789 ownerId=78901  registrant=0x123...456 at=1717512033

Environment

VariableDescription
RPC_URLRPC endpoint. Defaults to https://base-sepolia-rpc.publicnode.com.

This command only reads the chain; it does not need PRIVATE_KEY and will not send any transactions.

When to use it

  • Confirm a registration landed without waiting for the Registry to index it.
  • Backfill a local view from the chain for a specific block range.
  • Quickly inspect activity during local development against an Anvil node.

Continue

Released under the Apache 2.0 License.