Lucky dApp - Reporting

Dear Astar Community Council and Ecosystem Members,

Please find here the dApp staking report for the Lucky dApp.
For additional context and detailed information about the Lucky dApp, you can refer to:

The version 3 of Lucky was successfully deployed on Shiden on July 25th : Subscan | Aggregate Substrate ecological network high-precision Web3 explorer

In this version, I focused solely on technical updates, including:

  • Removing the deprecated OpenBrush library from the WASM smart contracts and migrating the contracts from ink! v4 to ink! v5.
  • Migrating the Phala Contracts (also known as Phat Contracts) to the new version of Phala Contracts, i.e., Agent Contracts in Phala Cloud.

I plan to perform the migration on Astar Network within the next two weeks. This process will be fully transparent to users, and all unclaimed rewards will remain available for claiming.

Looking at the contracts history (already more than 2 years!), I’m pleased to note the dApp has follow all evolutions in dApp Staking and is composed of multiple contracts, each now implemented using a different version of ink! (v3, v4, v5).
This may not mean much to the user, but I can assure you that, from a technical perspective, it is far from trivial.

In the future, depending on community support, we will decide whether to continue evolving the contracts in line with upcoming functional updates of dApp Staking or with technical updates of the underlying technologies (ink! contracts, Phala Cloud, SubQuery indexer).

Please don’t hesitate to reach out if you have any questions or need further details.

6 Likes

@GuiGou I’m glad to read your report and now that I have context about your project, I can see the same project evolution that you mention.

How do you plan to sustain the upcoming developments of Lucky dApp? Lucky on Soneium and development within the next few months?

1 Like

Thank you for the report!

Since Lucky is running on Wasm, it likely won’t work directly on an EVM like Soneium. Also, splitting reward payout pools would be inefficient, so if it’s all within the same money flow, it’s better not to create multiple pools.

If Lucky does something on Soneium, they’ll need to come up with a different new product.

This isn’t an issue if the funding sources are separate, as with Shiden or Astar.

1 Like

Very good points, I’m aligned with your message.

1 Like

Thanks for the update! Good Job guys!

1 Like

Great work on keeping Lucky up to date with the latest tech! Smooth migrations, consistent progress, and strong commitment to long-term support.

1 Like

Thanks for the reports, Gui. Most of us are familiar with you and the Lucky dApp. We’d like to see it in better places. Would you consider partnering with Soneium projects in the future? I’m sure it would help increase your visibility.

1 Like

Hello,
I’m glad to announce that the technical update has been successfully completed.
The main smart contract has been migrated to ink! v5, and the worker has been successfully deployed on Phala Cloud, a trustless infrastructure for verifiable off-chain computing and AI agents, powered by TEE.

Everything is running smoothly, except for raffle 1153, where a parameter in the smart contract was set incorrectly. As a result, the winner of era 1153 received 0.000000000000000053 ASTR instead of 53 ASTR.
We have transferred 53 ASTR to the winner to resolve this issue : Subscan | Astar Extrinsic Details

2 Likes

Regarding migration or expansion to Soneium, the Lucky dApp is built on top of dApp Staking and is intrinsically tied to it.
This means we will not be able to deploy the dApp on Soneium unless dApp Staking itself is also available there.

However, we have already built another dApp named Lotto, which is deployed on Astar L1 (ink! contracts) and Soneium (EVM contracts).

Currently, we are working on a Proof of Concept — Guess The Number — developed with ink! v6 and deployed on PolkaVM.

If the community is interested, we could deploy this dApp (Guess The Number) or other small games (user vs AI) on Soneium.
The library enabling communication between smart contracts, and off-chain computing/AI is already developped.

1 Like

Thank you very much for the data update. Anyway, I’d like to ask permission to inquire a bit more:

  1. In terms of the roadmap going forward, what kind of plans does the team have?

  2. Regarding the commercial aspect in the future, what plans does the team have? For example, revenue generation or promotion to acquire users, etc.

Makes sense, Lucky staying tied to dApp Staking is clear, but it’s great that you already have Lotto live on both Astar L1 and Soneium. The Guess The Number PoC sounds like a fun way to showcase ink! v6 and PolkaVM too. Small interactive games could be a nice way to spark more community engagement on Soneium.