diff --git a/docs/DOGECOIN.md b/docs/DOGECOIN.md index b0d37b9..9c90a65 100644 --- a/docs/DOGECOIN.md +++ b/docs/DOGECOIN.md @@ -271,19 +271,8 @@ chown -R dogecoin:dogecoin /home/dogecoin/.dogecoin/ ### Cold Storage Integration **Shop Configuration:** -Each shop configures their own cold wallet address for automatic sweep destinations: -```python -def validate_dogecoin_address(address): - """Validate Dogecoin address format.""" - if not address or len(address) != 34: - return False - if not address.startswith('D'): - return False - # Base58 character validation - valid_chars = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz" - return all(c in valid_chars for c in address) -``` +Each shop configures their own cold wallet address through the web interface. The system validates Dogecoin addresses (must start with 'D' and be 34 characters) before accepting them. **Auto-Sweep System:** diff --git a/docs/MONERO.rst b/docs/MONERO.rst index cca47cd..3a0dcee 100644 --- a/docs/MONERO.rst +++ b/docs/MONERO.rst @@ -309,19 +309,8 @@ Cold Storage Integration ------------------------ **Shop Configuration:** -Each shop must configure their own cold wallet address for automatic sweep destinations: -:: - - # Shop settings form validation - def validate_monero_address(address): - # Standard address validation - if len(address) == 95 and address.startswith('4'): - return True - # Integrated address validation - if len(address) == 106 and address.startswith('4'): - return True - return False +Each shop must configure their own cold wallet address for automatic sweep destinations through the web interface. The system validates Monero addresses (95 or 106 characters starting with '4'). **Auto-Sweep System:**