apibara / starknet-react

A collection of React providers and hooks for StarkNet
https://starknet-react.com
MIT License
364 stars 141 forks source link

Feat: useEstimateFees hook #422

Closed ugur-eren closed 6 months ago

ugur-eren commented 6 months ago

Context

As described in the issue #411, dapps sometimes needs fees estimation before doing the actual contract call. For this, I've created the useEstimateFees hook.

Changes in this Pull Request

netlify[bot] commented 6 months ago

Deploy Preview for starknet-react ready!

Name Link
Latest commit 78b124deb4a21a23908b52c38a9dd60d86a1dd22
Latest deploy log https://app.netlify.com/sites/starknet-react/deploys/660ab0fdf3fcb6000829dd3d
Deploy Preview https://deploy-preview-422--starknet-react.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

fracek commented 6 months ago

Looks good! Can you add a changelog with pnpm changeset (minor version bump) so then I can make a release?

ugur-eren commented 6 months ago

Hi @fracek , I added the changelog 2 days ago but seems like forgot to mention it, sorry for late reply.

fracek commented 6 months ago

Thank you!