Energy Generation and Rewards
Overview
The Solarious network allows real-world energy generators — such as solar panels, wind turbines, or other electricity-producing devices — to earn SOLAR tokens for the electricity they produce.
Energy production data is securely transmitted to the blockchain where a smart contract verifies the data and distributes rewards.
This mechanism ensures that energy generation can be recorded transparently, verified cryptographically, and rewarded automatically.
All reward calculations shown in this document are illustrative examples only.
The reward rate (SOLAR per kWh) may change in the future depending on protocol parameters, governance decisions, or network economics.
System Architecture
The system consists of four main components:
-
Energy Device
Hardware capable of producing electricity (solar panel system, wind generator, etc). -
Relayer Service
A backend service that receives signed data from devices and submits transactions to the blockchain. -
Smart Contract
A blockchain program responsible for verifying device signatures, validating production limits, and distributing rewards. -
Solarious Blockchain
Stores energy production records and distributes SOLAR tokens in a transparent and immutable way.
Device Cryptographic Identity
Each device must generate its own cryptographic key pair during initialization.
Public Key
The public key identifies the device on the network and can be safely shared or stored on-chain.
Private Key
The private key must remain strictly inside the device and must never be extractable.
The device uses this private key to sign energy production data.
This guarantees that only the legitimate device can report its generation statistics.
Device Registration
Before a device can begin receiving rewards, it must be registered in the smart contract.
During registration the following parameters are recorded:
- Device public key
- Maximum energy generation rate (kWh per second)
- Device status (active or inactive)
Registration is performed through a relayer service.
The relayer uses a secure API key and sends the registration transaction to the blockchain using an authorized address.
This prevents unauthorized devices from registering themselves in the system.
Energy Production Reporting
After registration, the device can periodically report its energy production.
Each report contains:
- Total energy generated by the device (kWh)
- Timestamp
- Cryptographic signature
The message is signed using the device’s private key according to the EIP-712 typed structured data standard.
https://eips.ethereum.org/EIPS/eip-712
The signed message is sent to the relayer API, which then submits the transaction to the blockchain.
A dedicated blockchain account pays the gas fee and sends the transaction on behalf of the device.
How Rewards Are Calculated
The smart contract stores the last reported total energy value for every device.
When a new report arrives, the contract performs the following steps:
- Verifies the device signature
- Ensures the device is registered and active
- Checks that the new energy value is greater than the previous value
- Calculates the difference between the new and previous value
- Applies the maximum production limit
- Calculates the reward in SOLAR tokens
Only the increase in energy generation is rewarded.
Example Reward Calculation
Assume the reward rate is:
- 1 kWh = 0.05 SOLAR
First report
The device reports:
- Total energy produced: 1 kWh
Reward:
- 1 kWh * 0.05 SOLAR/kWh = 0.05 SOLAR
Second report
The device reports:
Total energy produced: 2 kWh
Reward:
- (2 kWh - 1 kWh) * 0.05 SOLAR/kWh = 0.05 SOLAR
Total earned so far:
- 0.05 SOLAR (first report) + 0.05 SOLAR (second report) = 0.10 SOLAR
Production Rate Limits
Each device has a configured maximum production rate defined during registration.
The smart contract checks whether the reported production exceeds the allowed physical limit.
If the device reports more than this limit, the excess amount will not be rewarded.
Any tokens corresponding to the excess energy remain in the smart contract.
This mechanism prevents unrealistic production reports.
Smart Contract State
The smart contract stores the following information for each device:
- Device public key
- Last reported energy total
- Timestamp of the last update
- Maximum production rate
- Device status
This information can be queried directly from the blockchain.
It allows anyone to verify:
- device registration
- production history
- accumulated rewards
Security Model
The system relies on several layers of security:
Cryptographic signatures
Each energy report must be signed by the device’s private key.
Immutable blockchain records
All production data and rewards are permanently recorded on-chain.
Production rate limits
Prevents unrealistic or fraudulent energy reports.
Authorized device registration
Only approved devices can be registered through the relayer service.
Summary
The Solarious energy reward system connects real-world electricity generation with blockchain incentives.
The process works as follows:
- A device generates electricity.
- The device signs production data with its private key.
- The relayer submits the signed report to the blockchain.
- The smart contract verifies the report and calculates the reward.
- SOLAR tokens are distributed according to the amount of generated energy.
This architecture ensures that rewards are transparent, verifiable, and resistant to manipulation.