docs: Added FAQs for generating contracts file
issue
issue
@@ -891,6 +891,16 @@ E.g. :
BCHAR *result_str;
result_str = StoreRead_saveList(&tx_ctx, (BUINT8 *)"HelloWorld");
```
+#### Frequently Asked Questions
+**Q:The following error is reported when compiling**
+```
+ for abi_item in self.abi_object['abi']:
+TypeError: list indices must be integers, not str
+```
+A:The problem is caused by using the wrong input file. This input file should be the complete JSON file which is generated by the compiler. If just the contents of the ABI is copied and a JSON file is created, the ABI is need to add on the outermost layer. For specific format, please refer to:
+https://github.com/aitos-io/BoAT-X-Framework/issues/355
+
+
### Manually Construct Contract Calls
If the automatic generation tool cannot generate the C call interface, you need to manually construct the transaction message. In addition, because the Fabric and hwbcs invocation itself is so convenient that there is no need to use automatically generate interface tools, all contracts need to be invoked manually.
