FuelLabs / fuels-ts

Fuel Network Typescript SDK
https://docs.fuel.network/docs/fuels-ts/
Apache License 2.0
44.25k stars 1.34k forks source link

Predicate support for connecting to Metamask #493

Closed luizstacio closed 9 months ago

luizstacio commented 2 years ago

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;

Torres-ssf commented 9 months ago

Closing this for now in favor of: https://github.com/FuelLabs/fuels-ts/issues/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 https://github.com/FuelLabs/fuels-ts/issues/1463, or if we are going to add some docs on the SDK to explain the version that is being done here

danielbate commented 9 months ago

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