# Issues with deploying multiple smart contracts through hardhat on testnet

**URL:** <https://forum.aurora.dev/t/issues-with-deploying-multiple-smart-contracts-through-hardhat-on-testnet/331>\
**Category:** Developers\
**Created:** [June 8, 2022, 6:00am UTC](https://forum.aurora.dev/t/issues-with-deploying-multiple-smart-contracts-through-hardhat-on-testnet/331 "2022-06-08T06:00:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jpthewavy](https://avatars.discourse-cdn.com/v4/letter/j/df705f/32.png) [@jpthewavy](https://forum.aurora.dev/u/jpthewavy)\
**Post date:** [June 8, 2022, 6:00am UTC](https://forum.aurora.dev/t/issues-with-deploying-multiple-smart-contracts-through-hardhat-on-testnet/331/1 "2022-06-08T06:00:56Z")

</div>

Hi guys, I am trying to deploy smart contracts on Aurora testnet chain through hardhat.  
It works slow but okay to deploy a single contract, but when I create a deploy.js file to deploy multiple smart contracts, it just stops in the middle of deployment.  
Does anybody has a same issue with me? or is it just my thing?

---

<div class="post-metadata">

**Author:** ![joshuajbouw](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.aurora.dev/joshuajbouw/32/99_2.png) [@joshuajbouw](https://forum.aurora.dev/u/joshuajbouw)\
**Post date:** [June 8, 2022, 12:00pm UTC](https://forum.aurora.dev/t/issues-with-deploying-multiple-smart-contracts-through-hardhat-on-testnet/331/2 "2022-06-08T12:00:51Z")

</div>

Stops? Or is something returned? If nothing is returned then that makes it quite harder to debug :S.

---

<div class="post-metadata">

**Author:** ![jpthewavy](https://avatars.discourse-cdn.com/v4/letter/j/df705f/32.png) [@jpthewavy](https://forum.aurora.dev/u/jpthewavy)\
**Post date:** [June 9, 2022, 2:26am UTC](https://forum.aurora.dev/t/issues-with-deploying-multiple-smart-contracts-through-hardhat-on-testnet/331/3 "2022-06-09T02:26:19Z")

</div>

Nothing returns, it just stops after deploying 3 to 5 contracts out of 19 contracts. I guess it could be a testnet issue, I have succeeded to deploy all 19 contracts on the mainnet.

---

<div class="post-metadata">

**Author:** ![joshuajbouw](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.aurora.dev/joshuajbouw/32/99_2.png) [@joshuajbouw](https://forum.aurora.dev/u/joshuajbouw)\
**Post date:** [June 9, 2022, 9:58am UTC](https://forum.aurora.dev/t/issues-with-deploying-multiple-smart-contracts-through-hardhat-on-testnet/331/4 "2022-06-09T09:58:45Z")

</div>

Might be an RPC infrastructure issue. Both mainnet and testnet were the same at the time you started having problems.

---

<div class="post-metadata">

**Author:** ![cenwadike](https://avatars.discourse-cdn.com/v4/letter/c/f14d63/32.png) [@cenwadike](https://forum.aurora.dev/u/cenwadike)\
**Post date:** [July 16, 2022, 9:25am UTC](https://forum.aurora.dev/t/issues-with-deploying-multiple-smart-contracts-through-hardhat-on-testnet/331/6 "2022-07-16T09:25:36Z")

</div>

Did you try deploying all 19 contract through a node provider…it might help debug the point of failure
