import requests def fetch_website(url): """ Fetch and return the first 1000 characters of the given URL. """ try: response = requests.get(url, timeout=5) response.raise_for_status() return response.text[:1000] + "..." except Exception as e: return f"Error fetching {url}: {e}" def list_wallets(): """ Return a curated list of popular Stellar wallets. """ return """ ✅ **Popular Stellar wallets:** - [Lobstr](https://lobstr.co/) - [Solar Wallet](https://solarwallet.io/) - [StellarTerm](https://stellarterm.com/) - [Albedo](https://albedo.link/) Always do your own research before using any wallet! """ def get_docs_links(): """ Return quick links to key Stellar docs. """ return """ 📚 **Key Stellar resources:** - [Official site](https://stellar.org) - [Horizon API](https://developers.stellar.org/docs/fundamentals-and-concepts/horizon/) - [Soroban smart contracts](https://soroban.stellar.org/docs) - [GitHub](https://github.com/stellar) """