# How to build predicate ad create abi for predicate?

**URL:** <https://forum.fuel.network/t/how-to-build-predicate-ad-create-abi-for-predicate/2467>\
**Category:** TypeScript SDK\
**Created:** [April 27, 2023, 7:36am UTC](https://forum.fuel.network/t/how-to-build-predicate-ad-create-abi-for-predicate/2467 "2023-04-27T07:36:32Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![sway](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/sway/32/103_2.png) [@sway](https://forum.fuel.network/u/sway)\
**Post date:** [May 1, 2023, 9:33am UTC](https://forum.fuel.network/t/how-to-build-predicate-ad-create-abi-for-predicate/2467/4 "2023-05-01T09:33:48Z")

</div>

Just will live it here  
I have used his command in frontend folder with folowing project structure

 ![image](https://us1.discourse-cdn.com/flex022/uploads/fuel/original/2X/0/07c351f6a96cba3d1d24270e3eb0048f99378018.jpeg)

`npx fuels typegen -i ../predicate/out/debug/*-abi.json -o ./src/types --predicate`

after this I have got generated abi files in frontend/src/types folder

---

_[View the full topic](https://forum.fuel.network/t/how-to-build-predicate-ad-create-abi-for-predicate/2467)._
