Skip to content
This repository has been archived by the owner on Nov 5, 2023. It is now read-only.

Integrate with exisiting dApp #67

Closed
jacque006 opened this issue Dec 2, 2021 · 0 comments · Fixed by #183
Closed

Integrate with exisiting dApp #67

jacque006 opened this issue Dec 2, 2021 · 0 comments · Fixed by #183
Labels
clients good first issue Good for newcomers help wanted Extra attention is needed

Comments

@jacque006
Copy link
Collaborator

jacque006 commented Dec 2, 2021

Idea

In order to speed up and allow earlier integration with the bls-wallet system from external teams, we should attempt to create an example web app, service, or script which uses bls-wallet-clients and a local or hosted aggregator without using the Quill extension.

This will also:

  • Document and provide an example for non-extension use cases, such as if an exchange, other 3rd party provider, or user/service/bot which controls private keys wants to integrate with bls-wallet.
  • Expose any issues with our current code.
  • Highlight deficiencies and improvements we can make to our current documentation.

Depends on

Possible path

Create a web wallet, service, or script. Then:

  1. Create a BLSWallet https://github.com/jzaki/bls-wallet/blob/main/contracts/clients/README.md#blswalletwrapper
  2. Create an unsigned transaction for the dApp/contract interaction from ethers https://docs.ethers.io/v5/api/contract/contract/#contract-populateTransaction
  3. Sign the transaction using the BLSWallet
  4. Submit the transaction to the aggregator https://github.com/jzaki/bls-wallet/blob/main/contracts/clients/README.md#aggregator
@jacque006 jacque006 added help wanted Extra attention is needed good first issue Good for newcomers aggregator Aggregator backend related clients labels Dec 2, 2021
@jacque006 jacque006 added this to the dApp Interaction milestone Dec 2, 2021
@jacque006 jacque006 removed the aggregator Aggregator backend related label Dec 2, 2021
@jacque006 jacque006 changed the title Create an example and integrate with current functionality Integrate with exisiting dApp Mar 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
clients good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant