Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Biconomy Integration for Meta Transactions #1594

Closed
wants to merge 9 commits into from

Conversation

tomarsachin2271
Copy link

No description provided.

@dkent600 dkent600 temporarily deployed to alchemy-dev-phywachggup6cosxnp April 15, 2020 15:20 Inactive
@orenyodfat orenyodfat temporarily deployed to alchemy-dev-phywachggup6cosxnp April 15, 2020 18:37 Inactive
@tomarsachin2271
Copy link
Author

Demo screencast can be found here

Changes involve Biconomy integration in alchemy to enable gasless operations.
Biconomy integration is a two step process:

  1. Alchemy DApp needs to be registered on biconomy dashboard https:///dashboard.biconomy.io
    In this example i registered the DApp and uploaded GenesisProtocol, Redeemer and ContributionReward smart contracts and enabled meta transactions on Vote, Redeem and ProposeContributionReward method.

  2. Integration Biconomy SDK(Mexa) on client code (This has already been done in this PR) DApp Id and ApiKey used to initialize biconomy here should be registered by Alchemy owners and those values should be used in this repository.

Since this approach uses Smart Contract Wallet approach for meta transactions, so whenever user connects his wallet say Metamask, a new smart contract wallet is created for the User.

So some UI changes should be done to make the UX better.

  1. User should be notified when a new contract wallet is created and we should show the wallet address on UI somewhere.
  2. Since vote transaction go through contract wallet and msg.sender is contract wallet address, reputation should be in contract wallet address.
  3. On proposal details page, code should check if user contract wallet address has reputation or not and enable/disable the vote buttons on UI for the user.

Suggestion: There should be global mode NORMAL or GASLESS. In normal mode user client wallet address is shown to user.
In GASLESS mode, user contract wallet is shown to user and checked for any reputation.

@dkent600 dkent600 added this to Ready for Review in Triage Apr 15, 2020
@dkent600 dkent600 temporarily deployed to alchemy-dev-abevpqenqbcmr73ac6 April 20, 2020 15:44 Inactive
@orenyodfat orenyodfat had a problem deploying to alchemy-dev-pf2wpdgz2s7ek4ivv6 April 21, 2020 09:09 Failure
@orenyodfat orenyodfat closed this Apr 21, 2020
@orenyodfat orenyodfat reopened this Apr 21, 2020
Triage automation moved this from Ready for Review to In Progress Apr 21, 2020
@orenyodfat orenyodfat closed this Apr 22, 2020
@orenyodfat orenyodfat reopened this Apr 22, 2020
@orenyodfat orenyodfat closed this Apr 23, 2020
@orenyodfat orenyodfat reopened this Apr 23, 2020
@orenyodfat orenyodfat closed this Apr 23, 2020
@dkent600 dkent600 temporarily deployed to alchemy-dev-pxhrco1vk3y6iafhyl April 27, 2020 11:55 Inactive
@orenyodfat orenyodfat temporarily deployed to alchemy-dev-4vqzmgk6vc9jjgt7pu April 27, 2020 15:43 Inactive
@dkent600 dkent600 removed this from In Progress in Triage Apr 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants