How diter89/tea-assam-testnet-module works
This repository is a set of Python utilities for Tea Assam testnet token and DEX operations. Its workflows cover DEX pair/liquidity inspection, liquidity provision, swaps in both directions, individual token transfers, and batch transfers. Each script owns its own Web3 connection and transaction logic; the excerpts show no shared application orchestrator or persistent store. RPC and contract interactions are visible in the sampled source. The README highlights liquidity addition and DEX checking; other utility workflows are represented by their sampled implementations.
Main entry points: batch_transfer.py Batch transfer · add_liquidity.py Add liquidity · DexChecker.py DEX checker · tea_to_contract.py TEA to token swap
Components 10
DEX operations
- Add liquidity
swaps_tokens/add_liquidity.py - DEX checker
swaps_tokens/DexChecker.py - TEA to token swap
swaps_tokens/tea_to_contract.py - Token to TEA swap
swaps_tokens/contract_to_tea.py
Token transfers
- Individual transfer
transfer_token/transfer.py - Batch transfer
transfer_token/batch_transfer.py
Blockchain services
- Tea Assam RPC
- DEX contracts
- Token contracts
- Batch transfer contract
Connections 13
- Add liquidity → Tea Assam RPC: queries and submits
swaps_tokens/add_liquidity.py - Add liquidity → DEX contracts: reads and adds liquidity
swaps_tokens/add_liquidity.py - DEX checker → Tea Assam RPC: queries
swaps_tokens/DexChecker.py - DEX checker → DEX contracts: reads pair data
swaps_tokens/DexChecker.py - TEA to token swap → Tea Assam RPC: queries and submits
swaps_tokens/tea_to_contract.py - TEA to token swap → DEX contracts: wraps and swaps
swaps_tokens/tea_to_contract.py - Token to TEA swap → Tea Assam RPC: queries and submits
swaps_tokens/contract_to_tea.py - Token to TEA swap → DEX contracts: reads and swaps
swaps_tokens/contract_to_tea.py - Individual transfer → Tea Assam RPC: submits transfers
transfer_token/transfer.py - Individual transfer → Token contracts: transfers tokens
transfer_token/transfer.py - Batch transfer → Tea Assam RPC: queries and submits
transfer_token/batch_transfer.py - Batch transfer → Token contracts: checks and approves
transfer_token/batch_transfer.py - Batch transfer → Batch transfer contract: dispatches batch transfer
transfer_token/batch_transfer.py