# Lucky dApp - update the dApp owner

**URL:** <https://forum.astar.network/t/lucky-dapp-update-the-dapp-owner/7227>\
**Category:** Offchain Discussions\
**Created:** [September 6, 2024, 8:18am UTC](https://forum.astar.network/t/lucky-dapp-update-the-dapp-owner/7227 "2024-09-06T08:18:43Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![GuiGou](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.astar.network/guigou/32/1366_2.png) [@GuiGou](https://forum.astar.network/u/GuiGou)\
**Post date:** [September 6, 2024, 8:18am UTC](https://forum.astar.network/t/lucky-dapp-update-the-dapp-owner/7227/1 "2024-09-06T08:18:43Z")

</div>

Hello,

This proposal is the logical continuation of the following proposal executed on Shiden : [Lucky dApp (Shiden) - update the dApp owner](https://forum.astar.network/t/lucky-dapp-update-the-dapp-owner/7018)

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 Astar, we have to call the `set_dapp_owner` method in the `dapp_staking` pallet with the following parameters on Astar Network:

Wasm smart contract: `ZSV1GVepvmWFdshMWgczS4zYvmmwEsBjWQjN4WDpUEFRRPy`  
New owner: `ZjyoCabAjvNo9Evx1jc4Kysi3mG5ynchMcn6JPkR5c4SiYh`

encoded call data: `0x2203019af6e0a491173f73b570b4b4e0c04f319f496bcc3650da8166b39f42e056996ea84ef8c0efdd519e001cb3f5b6351725178283edf1b122a464f0a0f425699759`

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 and Shiden few months ago.  
This proposal is to run the extrinsic call on Astar Network.

Please feel free to ask any questions

---

<div class="post-metadata">

**Author:** ![you425](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.astar.network/you425/32/3313_2.png) [@you425](https://forum.astar.network/u/you425)\
**Post date:** [September 9, 2024, 5:29am UTC](https://forum.astar.network/t/lucky-dapp-update-the-dapp-owner/7227/2 "2024-09-09T05:29:50Z")

</div>

Hi, of course I support this.  
I mistakenly thought that the last change included Astar. It is reasonable that you tried it with Shiden first.

---

<div class="post-metadata">

**Author:** ![Sequaja](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.astar.network/sequaja/32/1992_2.png) [@Sequaja](https://forum.astar.network/u/Sequaja)\
**Post date:** [September 9, 2024, 11:44am UTC](https://forum.astar.network/t/lucky-dapp-update-the-dapp-owner/7227/3 "2024-09-09T11:44:27Z")

</div>

Hey, in favour ofc as you already explained why it is needed. And as it was succesfully tested production should be the next step.

---

<div class="post-metadata">

**Author:** ![Vangardem](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.astar.network/vangardem/32/2184_2.png) [@Vangardem](https://forum.astar.network/u/Vangardem)\
**Post date:** [September 10, 2024, 2:59pm UTC](https://forum.astar.network/t/lucky-dapp-update-the-dapp-owner/7227/4 "2024-09-10T14:59:11Z")

</div>

Thanks for the explanation, if it has already been successful in testnet it is time to go up to mainnet, count on my support.

---

<div class="post-metadata">

**Author:** ![bao](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.astar.network/bao/32/1809_2.png) [@bao](https://forum.astar.network/u/bao)\
**Post date:** [September 15, 2024, 6:26am UTC](https://forum.astar.network/t/lucky-dapp-update-the-dapp-owner/7227/5 "2024-09-15T06:26:49Z")

</div>

I support this proposal, just as I did with Shiden.  
It would be good to refer to this discussion if you were seeing the proposal for the first time.

> [@Lucky dApp (Shiden) - update the dApp owner](https://forum.astar.network/t/lucky-dapp-shiden-update-the-dapp-owner/7018):
>
> 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 …

---

<div class="post-metadata">

**Author:** ![BoomBLB](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.astar.network/boomblb/32/2209_2.png) [@BoomBLB](https://forum.astar.network/u/BoomBLB)\
**Post date:** [September 22, 2024, 3:43am UTC](https://forum.astar.network/t/lucky-dapp-update-the-dapp-owner/7227/6 "2024-09-22T03:43:30Z")

</div>

Thank you very much for the update. I’d like to ask a few more questions:

1. Initially, I don’t have much expertise regarding the technical aspects. In this case, from the users’ perspective, what benefits will they receive?

2. Regarding performance in terms of testing on Shibuya and Shiden sides, can you provide a brief summary of the details?

---

<div class="post-metadata">

**Author:** ![GuiGou](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.astar.network/guigou/32/1366_2.png) [@GuiGou](https://forum.astar.network/u/GuiGou)\
**Post date:** [September 22, 2024, 8:29am UTC](https://forum.astar.network/t/lucky-dapp-update-the-dapp-owner/7227/7 "2024-09-22T08:29:55Z")

</div>

> [@BoomBLB](#):
>
> Initially, I don’t have much expertise regarding the technical aspects. In this case, from the users’ perspective, what benefits will they receive?

There is no impact for the user. Mainly the Lucky team we will be able to update the description of the dApp in the Astar Portal.

---

<div class="post-metadata">

**Author:** ![GuiGou](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.astar.network/guigou/32/1366_2.png) [@GuiGou](https://forum.astar.network/u/GuiGou)\
**Post date:** [September 22, 2024, 8:34am UTC](https://forum.astar.network/t/lucky-dapp-update-the-dapp-owner/7227/8 "2024-09-22T08:34:17Z")

</div>

> [@BoomBLB](#):
>
> Regarding performance in terms of testing on Shibuya and Shiden sides, can you provide a brief summary of the details?

All has been successfully done on Shibuya and Shiden. No impact for for the user or for raffles. There is no change about the smart contracts. The performance of dApp is not impacted by this change.

---

<div class="post-metadata">

**Author:** ![BoomBLB](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.astar.network/boomblb/32/2209_2.png) [@BoomBLB](https://forum.astar.network/u/BoomBLB)\
**Post date:** [September 23, 2024, 9:54am UTC](https://forum.astar.network/t/lucky-dapp-update-the-dapp-owner/7227/9 "2024-09-23T09:54:41Z")

</div>

Thank you very much. Anyway, I’ll wait for the team to update. =)

---

<div class="post-metadata">

**Author:** ![BoomBLB](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.astar.network/boomblb/32/2209_2.png) [@BoomBLB](https://forum.astar.network/u/BoomBLB)\
**Post date:** [September 23, 2024, 9:58am UTC](https://forum.astar.network/t/lucky-dapp-update-the-dapp-owner/7227/10 "2024-09-23T09:58:37Z")

</div>

That’s great. Anyway, thank you very much for the information. =)

---

<div class="post-metadata">

**Author:** ![Sequaja](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.astar.network/sequaja/32/1992_2.png) [@Sequaja](https://forum.astar.network/u/Sequaja)\
**Post date:** [September 23, 2024, 1:12pm UTC](https://forum.astar.network/t/lucky-dapp-update-the-dapp-owner/7227/11 "2024-09-23T13:12:23Z")

</div>

Will there be a vote on this on townhall aswell?

---

<div class="post-metadata">

**Author:** ![GuiGou](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.astar.network/guigou/32/1366_2.png) [@GuiGou](https://forum.astar.network/u/GuiGou)\
**Post date:** [September 23, 2024, 2:23pm UTC](https://forum.astar.network/t/lucky-dapp-update-the-dapp-owner/7227/12 "2024-09-23T14:23:43Z")

</div>

You are right.  
I created the proposal on AstarGov: [Lucky dApp - update the dApp owner - Proposal in Townhall House Astar Network](https://astargov.com/astar/post/0x2424ddff332159c387e7a284cba450677ddab991f4435d523db3e02e235c9156)

---

<div class="post-metadata">

**Author:** ![you425](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.astar.network/you425/32/3313_2.png) [@you425](https://forum.astar.network/u/you425)\
**Post date:** [September 25, 2024, 5:31am UTC](https://forum.astar.network/t/lucky-dapp-update-the-dapp-owner/7227/13 "2024-09-25T05:31:18Z")

</div>

Thank you for creating this.  
I voted Yes.

---

<div class="post-metadata">

**Author:** ![Matt](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.astar.network/matt/32/1502_2.png) [@Matt](https://forum.astar.network/u/Matt)\
**Post date:** [September 25, 2024, 7:23am UTC](https://forum.astar.network/t/lucky-dapp-update-the-dapp-owner/7227/14 "2024-09-25T07:23:54Z")

</div>

Great to see creating this, very good!

---

<div class="post-metadata">

**Author:** ![bao](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.astar.network/bao/32/1809_2.png) [@bao](https://forum.astar.network/u/bao)\
**Post date:** [September 25, 2024, 8:15am UTC](https://forum.astar.network/t/lucky-dapp-update-the-dapp-owner/7227/15 "2024-09-25T08:15:00Z")

</div>

Voted Yes, definitely.

---

<div class="post-metadata">

**Author:** ![BoomBLB](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.astar.network/boomblb/32/2209_2.png) [@BoomBLB](https://forum.astar.network/u/BoomBLB)\
**Post date:** [September 25, 2024, 9:26am UTC](https://forum.astar.network/t/lucky-dapp-update-the-dapp-owner/7227/16 "2024-09-25T09:26:01Z")

</div>

Thank you for helping create the proposal. I have now joined the vote. =)

---

<div class="post-metadata">

**Author:** ![Sequaja](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.astar.network/sequaja/32/1992_2.png) [@Sequaja](https://forum.astar.network/u/Sequaja)\
**Post date:** [September 26, 2024, 10:06am UTC](https://forum.astar.network/t/lucky-dapp-update-the-dapp-owner/7227/17 "2024-09-26T10:06:36Z")

</div>

Thanks for the proposal. Voted yes ofc.

---

<div class="post-metadata">

**Author:** ![pithecus](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.astar.network/pithecus/32/5678_2.png) [@pithecus](https://forum.astar.network/u/pithecus)\
**Post date:** [September 29, 2024, 5:42am UTC](https://forum.astar.network/t/lucky-dapp-update-the-dapp-owner/7227/18 "2024-09-29T05:42:17Z")

</div>

Glad to vote on time! You have my aye!

---

<div class="post-metadata">

**Author:** ![MrKarahanli-Emre](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.astar.network/mrkarahanli-emre/32/6227_2.png) [@MrKarahanli-Emre](https://forum.astar.network/u/MrKarahanli-Emre)\
**Post date:** [September 30, 2024, 7:57pm UTC](https://forum.astar.network/t/lucky-dapp-update-the-dapp-owner/7227/19 "2024-09-30T19:57:30Z")

</div>

Glad to see that you have successfully passed the ballot!  
It’s great to see a real project growing step by step

---

<div class="post-metadata">

**Author:** ![GuiGou](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.astar.network/guigou/32/1366_2.png) [@GuiGou](https://forum.astar.network/u/GuiGou)\
**Post date:** [October 8, 2024, 6:51pm UTC](https://forum.astar.network/t/lucky-dapp-update-the-dapp-owner/7227/20 "2024-10-08T18:51:41Z")

</div>

Hey

Lucky’s dApp Owner on Astar Network has been updated as requested.

[https://astar.subscan.io/multisig\_extrinsic/7165518-4?call\_hash=0xc635896527276bc0d38addb1d40649553123b1d1fc992e876b00f54131bee806](https://astar.subscan.io/multisig_extrinsic/7165518-4?call_hash=0xc635896527276bc0d38addb1d40649553123b1d1fc992e876b00f54131bee806)

Thanks to the core team!

[Next page](https://forum.astar.network/t/lucky-dapp-update-the-dapp-owner/7227.md?page=2)
