Skip to content

Commit ad4d900

Browse files
committed
prepare test transactions
1 parent 65c3d0c commit ad4d900

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

apps/nextra/pages/en/build/indexer/indexer-sdk/advanced-tutorials/_meta.tsx

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
export default {
2+
"test-transactions": {
3+
title: "Preparing Test Transactions",
4+
},
25
"txn-importer": {
36
title: "Importing Transactions",
47
},
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Aptos Indexer Testing Framework Overview
2+
3+
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

Comments
 (0)