sway icon indicating copy to clipboard operation
sway copied to clipboard

[Tracking] Integrate wallet support into `forc` client commands (i.e. `deploy`, `run`)

Open mitchmindtree opened this issue 3 years ago • 1 comments

Deploying contracts and running scripts on the Fuel VM will cost gas.

We need a way to enable users of forc deploy and forc run to sign transactions from a local wallet.

To achieve this, we can take advantage of the SDK's wallet API.

We will likely need to work with and simultaneously develop the forc-wallet plugin to ensure a smooth CLI wallet UX from the creation of a wallet all the way through to paying for transactions.

We should first help @digorithm to land the awesome work in https://github.com/FuelLabs/forc-wallet/pull/3 which has long since been unblocked with plugin support and wallet support in the SDK.

Before beginning work on this, we should first address #2412.


TODO: Flesh this issue out with a step-by-step implementation plan.

mitchmindtree avatar Jul 29 '22 07:07 mitchmindtree

Awesome -- looking forward to this.

Feel free to take over my forc-wallet PR in case it becomes a blocker and/or I'm busy with other work.

digorithm avatar Jul 29 '22 14:07 digorithm

Closed as of #2641

mitchmindtree avatar Sep 05 '22 08:09 mitchmindtree