fuels-npm-packs
fuels-npm-packs copied to clipboard
create hooks for contract
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