-
Notifications
You must be signed in to change notification settings - Fork 5
Description
- Team ID: 2
- Name of team: Gatta
- Name of track: Cross Chain
- Github repo link: https://github.com/bitnician/gatta
- Team participants: Behzad
- Describe the project
As a founder of your company, you might want to launch a reward program to incentivize your users to do some actions.
Gatta is a private rewarding platform and can help you achieve that.
- What problem it is solving
- User privacy in reward programs.
- Trustless Verification of User Actions:
- Decentralized Reward Distribution Automation
- Randomized, Fair Selection Process
- Customizable Reward Criteria
- Efficient Off-Chain Data Handling with On-Chain Execution
- What is your solution
You can define your criteria for selecting eligible users for rewards and deploy a canister to manage this process.
Additionally, you’ll deploy a smart contract on Ethereum (or any EVM-compatible chain) to hold your reward token.
For example:
1. Users who provide a minimum liquidity amount in your designated Uniswap pool and lock it for at least six months.
2. Users who have interacted with specific contract addresses within a defined time period.
3. Users who have liked and retweeted your tweet and retained it on their account for at least one day.
The canister can retrieve data based on your criteria and randomly select eligible users. These selected users remain anonymous, as no one knows their EOA addresses. The IC provides methods for generating randomness, so the chosen users are unpredictable.
As a user, you can sign a message and send the signature to the canister. In cryptography, it’s possible to derive an address from a signature. Providing a signature allows you to prove to the canister that you indeed own the address you’ve submitted.
The canister derives the address from the signature, and if it matches one of the selected users, it provides a unique voucher for that user. This voucher is essentially another signature that the canister issues to each specific eligible user.
The user can then send this voucher to the Ethereum smart contract. The contract can validate the voucher by deriving the address to confirm that the canister generated it. If the verification is successful, the contract transfers the rewards to the user.
To enhance privacy, users can create a new EOA to send the voucher to the Ethereum smart contract.
- What unique features of ICP it is using
- Generating Signature
- Verifying signature (not fully implemented)
- Randomness
- ic-alloy to read the events
- OISY wallet Principal:-
- Mainnet canister link backend: https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.io/?id=4zhb3-tqaaa-aaaao-qjvwq-cai