OpenTallyRuleAboutBase Sepolia

The rule the contract runs

Connections are released once meters have been active for active for 30 days or more and consumption has met 2.0 kWh or more, after the 14-day sampling window sampling window closes without a hold.

Source: DARES Independent Verification Agent terms of reference (Rural Electrification Agency of Nigeria), read 2026-10-19.

Parameters

ParameterValueWhere it comes from
active for 30 days or more30 daysDARES IVA terms of reference: 'meters have been successfully active'
2.0 kWh or more2 kWh per monthchosen by this teamDARES IVA terms of reference: 'minimum consumption/capacity utilization threshold at an aggregate level' (the terms name the threshold without a value)
14-day sampling window14 days (30 s on this demo)DARES IVA terms of reference: phone and site sampling before claims are confirmed; 30 seconds on this demo instance
Grant per connection350 tUSDNigeria Electrification Project: US$350 per connection after 90 days of service (Rockefeller Foundation case study, 2020); the Universal Energy Facility pays US$592

Who holds which key

KeyHeld byCanCannot
Funderthe programme's funderdeposit grant money into the escrowrelease, hold or change the rule
Site gateway (one per site)the site's metering gatewaysign that site's monthly summariessign for another site, change the rule or move money
Verifierthe independent verification agenthold and lift a connectionrelease money or withdraw the escrow
Programme operatorthe programme managerregister sites and connections, submit signed summariesforge a site's signature, pay a held connection, pay twice, or release before the window closes
Anyoneno key at alltrigger the release once the sampling window has closed, and re-add every totalchoose who is paid: the rule decides

On this demo one server holds all of these keys so that nobody needs a wallet to try it. A real programme gives each key to its holder: the funder's custody, the gateway hardware, the verifier's own signer.

What the chain proves: each summary was signed by its site's gateway key, every release followed the rule and skipped every hold, and nobody was paid twice. What it cannot prove: that a meter reported the truth. That is what the screen and the verifier's sampling are for.

Contracts on Base Sepolia testnet

Programme shown on the tally: 0xbB0Db91245CdB748D631539a33FBDd6727428D5b

Factory: 0x57a62103b0de09a65d84ecf90984ff597085fa75

Test token (tUSD, no value): 0x0c491dbab75025e2b6f318e6daf3ce98b5a538c2

Back to the tally