FuelLabs/fuels-npm-packs

create hooks for contract

Opened this issue · 0 comments

useContract returns the instance of the contract
useContractRead - shortcut to execute a readonly function from the contract
useContractWrite - shortcut to execute a writable function from the contract