Ziya/test-ipfs.js
rizary 67fb3a203e
feat: implement CEX analysis cards and real-time token monitoring
- Add TokenCard and CexAnalysisCard components for displaying token data
- Implement real-time Redis event streaming for token updates
- Add environment-based configuration system for dev/prod Redis servers
- Create comprehensive hunting ground dashboard with card management
- Add individual and bulk card removal functionality
- Implement browser integration for token details viewing
- Add timestamp utilities and proper type handling for Redis events
- Create production-ready configuration with 154.38.185.112 Redis server
- Add comprehensive documentation in README.md and CONTRIBUTORS.md
- Restructure project architecture with proper Electron-Vue integration

BREAKING CHANGE: Redis configuration now uses environment-based settings
2025-06-23 09:03:39 +07:00

18 lines
No EOL
481 B
JavaScript

// Simple test to verify IPFS functionality
import { fetchTokenMetadata } from './app/utils/ipfs.js';
async function testIpfs() {
console.info('Testing IPFS fetch...');
// Test with a common IPFS URI format
const testUri = 'https://ipfs.io/ipfs/QmPFELY2WMF7KRcpegQxjLqiFGD5AL6bGA9cYB6bE7WVd9';
try {
const result = await fetchTokenMetadata(testUri);
console.info('Result:', result);
} catch (error) {
console.error('Error:', error);
}
}
testIpfs();