Usage-based payments using one-time payments based on the implementation plan. Unlike the initial usage-based payments proposal this version does not involve validators in the settlement process. Instead, the FilBeam contract calculates settlement amounts based on usage data reported by off-chain workers and directly calls the FWSS contract to execute fund transfers to payment rail beneficiaries.
$ forge build$ forge test$ forge fmt$ forge snapshot$ anvil$ forge script script/UsageValidator.s.sol:UsageValidatorScript --rpc-url <your_rpc_url> --private-key <your_private_key>$ cast <subcommand>$ forge --help
$ anvil --help
$ cast --help