# React interact with ink!

**URL:** <https://forum.polkadot.network/t/react-interact-with-ink/9658>\
**Category:** Tech Talk\
**Tags:** ink, stackexchange\
**Created:** [August 14, 2024, 2:07pm UTC](https://forum.polkadot.network/t/react-interact-with-ink/9658 "2024-08-14T14:07:48Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![sinzii](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.polkadot.network/sinzii/32/6947_2.png) [@sinzii](https://forum.polkadot.network/u/sinzii)\
**Post date:** [August 14, 2024, 3:55pm UTC](https://forum.polkadot.network/t/react-interact-with-ink/9658/2 "2024-08-14T15:55:19Z")

</div>

Hi @zubayr1,

Interacting with ink! smart contracts using [Polkadot.js](https://polkadot.js.org/docs/api-contract) might be challenging, especially if you’re new to ink!.

From what you describe, it’s a bit hard to see & debug what went wrong, can you host the script somewhere e.g on [https://stackblitz.com/](https://stackblitz.com/), so it’s easier for us to go there and help you check the issue.

Alternatively, I suggest you trying out [Dedot](https://github.com/dedotdev/dedot), a new JavaScript Client for Polkadot & Substrate which supports [fully-typed APIs](https://forum.polkadot.network/t/type-safe-apis-to-interact-with-ink-smart-contracts-dedot/9485) to interact with [ink! contracts](https://github.com/dedotdev/dedot/tree/main?tab=readme-ov-file#interact-with-ink-smart-contracts). There is an [example](https://github.com/dedotdev/dedot/blob/b69096fc366497f267e7c7173f2baeacc64e8419/zombienet-tests/src/0001-check-contract-api.ts) (e2e test) to deploy & interact with a flipper contract in the source code, so you could go there and check it out.

If you need more help, you can reach out to me directly on Telegram (@realsinzii) or ask your question on Telegram group of [Dedot](https://t.me/JoinDedot), I’m happy to help you out with the issue.

---

_[View the full topic](https://forum.polkadot.network/t/react-interact-with-ink/9658)._
