Hello,
Because the Lucky dApp is 100% automated and technically decentralized via smart contracts on Astar Network and Phala Network, the current owner of the dApp is a smart contract.
It’s been like this since we registered Lucky in the dApp Staking. Indeed, in the dApp Staking V2, developer rewards were always sent to the dApp owner.
However, the dApp owner is also the address granted to update the description of the dApp in the Astar Portal. This is why we never updated the description of the dApp from the beginning.
With the dAppStaking V3, a new concept has been introduced: the beneficiary. This means we can seperate the owner of the dApp and the beneficiary of the rewards.
For Lucky, the beneficiary of the rewards will always be the wasm smart contract, to remain 100% automated and technically decentralized.
But to update the description of the dApp in the Astar Portal, the Lucky team address (ZjyoCabAjvNo9Evx1jc4Kysi3mG5ynchMcn6JPkR5c4SiYh
) must be the dApp owner (until the chain extension for dApp staking is available and the Lucky governance is also decentralized).
To update the dApp owner of the dApp in Shiden, we have to call the set_dapp_owner
method in the dapp_staking
pallet with the following parameters on Shiden Network:
Wasm smart contract: X6ykUS6L6CH4EoZitZsYJsCxH2AGk2ky9G6a2xeu1W9ffTP
New owner: ZjyoCabAjvNo9Evx1jc4Kysi3mG5ynchMcn6JPkR5c4SiYh
encoded call data: 0x220301339e443e102a0f8c36114ddc7b569bd00e1052207ddbd5f89d03bfd34ce9997aa84ef8c0efdd519e001cb3f5b6351725178283edf1b122a464f0a0f425699759
Normally, this call must be run by the dApp owner (ie the smart contract).
Because there is no chain extension for dApp staking in wasm smart contracts, the smart contact cannot call this extrinsic.
That is why I created this proposal to request to call this extrinsic with sudo/root privileges.
It was sucessfully tested on Shibuya few days ago: https://shibuya.subscan.io/extrinsic/6519409-2
This proposal is to run the extrinsic call on Shiden Network.
Then, I will prepare the same proposal for Astar Network.
Please feel free to ask any questions