You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Description
### Checklist
<!-- Read the Nextra Contributor's Guide here: https://aptos.dev/en/developer-platforms/contribute -->
- If any existing pages were renamed or removed:
- [ ] Were redirects added to [next.config.mjs](../apps/nextra/next.config.mjs)?
- [ ] Did you update any relative links that pointed to the renamed / removed pages?
- Do all Lints pass?
- [ ] Have you ran `pnpm fmt`?
- [ ] Have you ran `pnpm lint`?
The Aptos Indexer Testing Framework provides two ways to generate test transactions: **by Importing Transactions from Network** and **By writing a Move Scripts**. Both approaches are suited for specific scenarios based on your development and testing requirements, enabling you to test how your system handles various transaction types.
4
+
5
+
6
+
## When to Import transactions
7
+
Imported transactions are primarily used to validate processor logic or database integrity by replaying transactions from live networks.
8
+
9
+
## When to Use **Move Script** to generate transactions
10
+
Scripted transactions are primarily used to create and test transaction scenarios that are not yet live on the network. In most cases, you should use transaction importing to test your processor logic.
11
+
12
+
## Summary
13
+
Aptos-indexer-transaction-generator tool is an essential tool in the Aptos Indexer Testing Framework. Import transactions for replaying and analyzing real-world transactions, while generating transactions with **Move Scripts** is best for testing new AIPs that may impact processing logic. Choose the method that aligns with your testing goals to ensure a comprehensive validation process.
14
+
15
+
## Next Steps
16
+
For detailed instructions on how to use these methods, refer to the following guides:
17
+
1.[Importing Transactions](./txn-importer)
18
+
2.[Generating Transactions with Move Scripts](./txn-script)
0 commit comments