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

Predicate support for connecting to Metamask #493

Closed
luizstacio opened this issue Sep 6, 2022 · 2 comments
Closed

Predicate support for connecting to Metamask #493

luizstacio opened this issue Sep 6, 2022 · 2 comments
Labels
feat Issue is a feature

Comments

@luizstacio
Copy link
Member

Today the way we build predicates enables users to spend coins from a certain predicate when matching the script requirements. The idea is to have a built-in predicate that enables users to operate with Metamask as a way to sign transactions on Fuel, without the need to have a Fuel Wallet.

The ideal implementation would be a Wallet that uses a Predicate as the underneath signers replacing the need for private keys.

Use case;

  • When the application calls the sign method from Predicate Wallet, Predicate will use a MetaMask SDK to request a signature from the user. When it returns, we should treat and add this to the TX and continue the current flow.
@arboleya arboleya added feat Issue is a feature and removed package:wallet labels Dec 7, 2023
@Torres-ssf
Copy link
Contributor

Closing this for now in favor of: #1463
This is already being implemented in https://github.com/FuelLabs/EVM-Wallet-Connector

We need to decide if this could be a wallet connector that we would have in the SDK, after #1463, or if we are going to add some docs on the SDK to explain the version that is being done here

@danielbate
Copy link
Member

Agreed this should be done via the wallet connector with examples / documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat Issue is a feature
Projects
None yet
Development

No branches or pull requests

4 participants