Prerequisites
Before starting, ensure you have:- Completed the installation steps
- Configured all required secrets in
.streamlit/secrets.toml - Redis running locally
- OpenAI API key with access to assistants
If you haven’t set up the application yet, follow the installation guide first.
Launch the application
Start the Streamlit application from your project directory:http://localhost:8501.
Perform your first risk assessment
Enter wallet address
In the main form, input the XRP wallet address you want to assess:
The wallet must have associated identity information on XRPScan (domain, Twitter, etc.). Anonymous wallets will return “No info” errors.
Enter XRP amount
Specify the amount of XRP you intend to send. This is for reference only during the assessment phase.The amount can be entered as:
- Whole numbers (e.g.,
100) - Decimal values (e.g.,
50.5)
Click 'Check Destination'
Submit the form by clicking the Check Destination ✨✨ button.The system will:
- Fetch account information from XRPScan API
- Verify the wallet has sufficient metadata
- Extract the associated domain
Wait for web crawling
Watch the progress bar as the system crawls the business website:This typically takes 15-30 seconds depending on website size.
Review AI-generated reports
Once crawling completes, three AI assistants analyze the data in parallel:Summary
- Brief overview of relevant financial regulations
- Jurisdiction-specific compliance requirements
- Applicable regulatory frameworks
- Identified red flags and compliance concerns
- Regulatory violations or gaps
- Licensing and registration issues
- Relevant regulatory documents
- Laws and standards applicable to the company
- Compliance references
Understanding the results
The risk assessment provides comprehensive information to help you make informed decisions:Account information
At the bottom of the report, you’ll see verified wallet metadata:- Verified: Indicates XRPScan has validated the account identity
- Domain: The business website associated with this wallet
- Twitter: Social media verification
- Balance: Current XRP holdings (indicates account activity)
Risk indicators
Look for these key signals in the compliance report:Critical red flags
Critical red flags
- Missing required licenses
- Operating in sanctioned jurisdictions
- Regulatory violations
- No domain or unverified account
Medium concerns
Medium concerns
- Incomplete public information
- Recently issued licenses
- Multi-jurisdiction complexity
Low risk
Low risk
- All licenses current
- Verified account with complete metadata
- Operating in compliant jurisdiction
Sending the transaction (optional)
After reviewing the risk assessment, you can send the XRP transaction:- Click the Send the amount button at the bottom
- The system will execute the transaction on XRP Testnet
- Transaction details are logged to the console
Example workflow
Here’s a complete example of the assessment process:Troubleshooting
Error: 'No info'
Error: 'No info'
Cause: The wallet address has no associated account name on XRPScan.Solution: Use a verified wallet address with domain information. Most exchange and business wallets have this metadata.
Error: 'There is no sufficient information available'
Error: 'There is no sufficient information available'
Cause: The wallet is missing Twitter, balance, or initial_balance data.Solution: Choose a different wallet address with complete metadata.
Redis connection error
Redis connection error
Cause: Redis is not running.Solution: Start Redis:
OpenAI API errors
OpenAI API errors
Cause: Invalid API key or assistant IDs.Solution:
- Verify
OPENAI_API_KEYin secrets.toml - Check assistant IDs are correct
- Ensure vector storage exists
Next steps
Explore features
Learn about the AI-powered risk assessment system
Configuration guide
Customize OpenAI assistants and settings
API reference
Explore the core functions and utilities
Compliance checks
Understand how to interpret risk reports