dApp Staking Proposal: Lucky

Hey,

Currently, an address managed by a Ledger wallet cannot claim the rewards in Lucky because Ledger is not fully compatible with Substrate (Ledger doesn’t support yet the Contracts pallet).
To fix this issue, we implemented the claim_from method in the Reward Manager smart contract.
This way, a user can claim their rewards with another substrate address.
It’s important to understand that the smart contract will always transfer the rewards to the address that won the raffle and now this address can be different from the signer.

This version is already deployed and tested on Shibuya.
We will deploy this version on Astar next week.
Here the verified version of smart contract: Patron
and the version in github: GitHub - LuckyDapp/lucky-contracts at v1.1.0

This change affects only Ledger user (they will be able to get their rewards soon :slight_smile:) and is totally transparent for all other users but if you have any question, please feel free to ask!

Stake to get Lucky :four_leaf_clover:

6 Likes

As a ledger user, I would like to thank you for the support, @GuiGou!

The contract has been successfully upgraded and an address managed by a Ledger wallet can now received its rewards :four_leaf_clover:

Here is the transaction uploading the new code:

and the contract upgrade

Thanks to the Contract pallet that allows wasm smart contracts to add features over time.

2 Likes

If you have pending rewards on your Ledger address, please dm me to receive your rewards :wink:

1 Like

Great new! Thank you for the feedback!

Thank you GuiGou, but don’t worry, I don’t have one :sweat_smile:

Thanks for reporting, Ledger has had some problems with substrate, I have seen the Safepal library and I really like it, let’s hope that finally Ledger can be used in all Astar spaces and projects without problems.

1 Like

Glad to see a reliable dApp actively being developed and communicating with the community!

1 Like

Hello,
I’m very happy to announce that @Juminstock and @bao are joining Lucky as ambassadors.
In 2023, we built without really communicating.
In 2024, we will do both.
The best is coming!
:four_leaf_clover:

3 Likes

Thank you very much for the opportunity, @GuiGou. We will do our best to push Lucky fam forward!

2 Likes

Congrats ! @Juminstock @bao Glad to see Lucky team expanding :smile:

3 Likes

I’m a fan of Lucky, so I’m honored to become an ambassador!
I’ll work hard to reach Tier 1 in dApp Staking v3!

3 Likes

Thank you so much, buddy!

2 Likes

Looking forward to see you guys making waves in our eco! :wink:

2 Likes

Hi,
Happy to announce that Lucky has his own discord: Lucky
We will share all information like roadmap, announcements, future games, … in the discord.
See you soon
:four_leaf_clover:

4 Likes

Oh !! What a Lucky day. :smiling_face_with_three_hearts:

I love it.

Lucky is only dApp working well in Native side ( WASM ).

So, Very important in Technically too. :four_leaf_clover:

3 Likes

The day has come! @GuiGou and @bao and I will provide support to all new users :sunglasses:

2 Likes

Some numbers for the Lucky dApp.
So far, the dApp distributed 29 767 ASTR to 100 different wallets during 225 era.
Everything was done in an automated and decentralized way via wasm smart contracts on Astar Network and Phala Network.
Hoping to see more use cases between these two networks.

3 Likes

Hello,

With the new runtime upgrade for Shiden and Astar (Release v5.42.2 · AstarNetwork/Astar · GitHub), the dApps Lucky and Lotto will not be available during few weeks.
Currently, they are unavailable on Shibuya and Shiden and will soon be unavailable on Astar.

Indeed, since CheckMetadataHash is now part of the extrinsics (RFCs/text/0078-merkleized-metadata.md at main · polkadot-fellows/RFCs · GitHub), the extrinsic structure has been changed and some updates are required in the SubQuery indexers, in the UI and in the smart contracts deployed on Phala Network (smart contracts that communicate with the smart contracts deployed on Astar Network).

About the SubQuery indexers, we are in contact with the SubQuery team and we have alreday informed them about the required changes.
About the updates in UI and smart contracts, we will do the update as soon as possible but with the summer break, it can be longer as usual.

Sorry for the inconvenience.

4 Likes

Hi @GuiGou ,

One simple (and perhaps stupid) question. As the Lucky dApp is able to access with substrate wallets, I am not sure if the raffle and/or lotto are eligible for those who staked their SDN / ASTR from the EVM side. If not, mentioning such in Docs (or About) might be helpful for future stakers.