Types of Wallets
There are several types of wallets in the SKALE Network. These include:- Wallets Controlled by the validator, supernode operator, and SKALE Chain owner. These wallets may be software or hardware wallets.
- Self-Recharging wallets can be for validators and for the SKALE Chain owner.
Node Transactions & Reimbursement
The following table explores what supernode transactions are reimbursed and by who.| Transaction | Reimbursed By | Description of Transaction |
|---|---|---|
| getBounty() | Validator | Called every month by each supernode to request bounty. |
| nodeExit() | Validator | To remove a supernode from the network due to hardware failure or unmet MSR. |
| complaint() | Validator | Performed in DKG failure mode when a supernode lodges a general DKG complaint against a malicious supernode who may have failed to send data. |
| complaintBadData() | Validator | Performed in DKG failure mode when a supernode discovers that malicious data has been sent and requires verification data to validate. |
| preResponse() | Validator | Performed in DKG failure mode, when a supernode sends a verification vector and secret key shares ahead of the final response() result. |
| response() | Validator | Performed in DKG failure mode when a supernode sends a response to a complaint() to prove it’s not malicious based on the data it sends in preResponse(). |
| broadcast() | SKALE Chain Owner | Performed during SKALE Chain creation when distributed key generation process begins. Supernodes broadcast their secret key contributions to all other supernodes. |
| alright() | SKALE Chain Owner | Performed during SKALE Chain creation when distributed key generation is in-process. Supernodes send receipts of secret key contributions. |
Replenishment
Self-recharging validator wallets can be replenished in ETH by anyone with the wallet’s contract address and theValidatorId or sChainId. This functionality allows anyone to ensure the continued ETH funding and operation of validator supernodes and SKALE Chains.
If the self-recharging…
- validator balance runs out of ETH, then the supernodes’ wallets are first spent until transactions revert.
- SKALE Chain Owner balance runs out of ETH, then transactions will revert.
There is no easy way to know the EVM’s refund counter’s value from inside the EVM. Thus, refunds may offset the transaction’s final net cost, and supernode balances may slightly increase over time. This process will be reviewed and improved over time.
