Skip to content

Decentralized app and Solidity contract for a delegated Arbius miner that enables Liquid Staking AIUS, self-repaying AIUS loans (lending & borrowing), etc

License

Notifications You must be signed in to change notification settings

vdallco/Arbius-Delegated-Miner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Arbius-Delegated-Miner

Solidity contract for a delegated Arbius miner that enables Liquid Staking AIUS, self-repaying AIUS loans (lending & borrowing), etc

Configuration

In the MiningConfig.json file for Arbius Miner, add keys for use_delegated_validator and delegated_validator_address

 "blockchain": {
    "use_delegated_validator": true,
    "delegated_validator_address": '...'
  }

Run the miner

yarn start:dev MiningConfig.json

Claim rewards

To claim rewards for stakers and the miner, simply call the claim() function on the Delegated Miner contract.

Credits

  • Majority credit to Kasumi from Arbius for creating the Delegated Miner contract
  • Credit to vdallco for completing the Delegated Miner contract (added claim() rewards calculation logic, submitSolution() fix, submitTask() function)

About

Decentralized app and Solidity contract for a delegated Arbius miner that enables Liquid Staking AIUS, self-repaying AIUS loans (lending & borrowing), etc

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published