You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			| 
				
					 | 
			8 months ago | |
|---|---|---|
| .. | ||
| .prettierrc | 8 months ago | |
| README.md | 8 months ago | |
| generate_data.py | 8 months ago | |
| generate_data.sh | 8 months ago | |
| generate_data.ts | 8 months ago | |
| package-lock.json | 8 months ago | |
| package.json | 8 months ago | |
| requirements.txt | 8 months ago | |
| run-deeplink-tests.sh | 8 months ago | |
| tsconfig.json | 8 months ago | |
| types.d.ts | 8 months ago | |
		
			
				
				README.md
			
		
		
	
	Test Scripts
This directory contains scripts for testing deep links and DID functionality.
Deep Link Testing
The run-deeplink-tests.sh script tests the app's deep link handling capabilities.
Prerequisites
- Required tools:
- bash
 - curl
 - jq
 - adb (optional - for device testing)
 - Either:
- Python 3 with packages: 
mnemonic,eth_account,eth_keys,web3,requests - OR Node.js with TypeScript
 
 - Python 3 with packages: 
 
 
Setup
- 
Generate required test files using either:
Python method:
pip install mnemonic eth_account eth_keys web3 requests python test-scripts/generate_data.pyOR TypeScript method:
npm install npm run build npm run start - 
This will create the
.generateddirectory with required files:test-env.shclaim_details.jsoncontacts.json
 
Running Tests
- 
Execute tests:
./test-scripts/run-deeplink-tests.sh - 
Print mode (no device needed):
./test-scripts/run-deeplink-tests.sh -p - 
Custom timeout:
./test-scripts/run-deeplink-tests.sh -t 10 
Troubleshooting
If you encounter errors:
- Ensure 
.generateddirectory exists with required files - Check ADB is installed for device testing
 - Run with 
-pflag to verify deep link generation - Verify test environment variables in 
.generated/test-env.sh 
Clean Up
To clean up generated files:
rm -rf .generated