sway
sway copied to clipboard
[Tracking] Integrate wallet support into `forc` client commands (i.e. `deploy`, `run`)
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.
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.
Closed as of #2641