| 86 | |
| 87 | // Example of how to use once you have the Ethereum address |
| 88 | function showQueryExample() { |
| 89 | console.log('\n=== ONCE YOU HAVE THE ETHEREUM ADDRESS ==='); |
| 90 | console.log('Example usage with the converted address:'); |
| 91 | console.log(''); |
| 92 | console.log('const contractAddress = "0x..."; // Your converted address'); |
| 93 | console.log('const rpcUrl = "http://localhost:8545"; // Your RPC endpoint for chain 31337'); |
| 94 | console.log(''); |
| 95 | console.log('queryPermissionMode(contractAddress, rpcUrl);'); |
| 96 | } |
| 97 | |
| 98 | // For your specific case, let's try a different approach |
| 99 | function tryDirectConversion() { |