As @danielbate said, you can use the generated factory class for your Predicate (if you’re using Typegen), or you can also do it manually, as described here:
anderson
3
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| How to obtain the predicate bytecode to pass into Predicate in frontend? | 2 | 374 | May 8, 2023 | |
| Cant create predicate instance following Use type tutorial in ts sdk | 5 | 394 | May 5, 2023 | |
| Missing import of BN type after generating abis for predicate code | 4 | 417 | May 3, 2023 | |
| Sway contracts Builder | 1 | 78 | May 21, 2024 | |
| How to build predicate ad create abi for predicate? | 4 | 479 | May 7, 2023 |