()
| 111 | |
| 112 | // Main execution |
| 113 | async function main() { |
| 114 | console.log('=== F410 TO ETHEREUM ADDRESS CONVERTER ==='); |
| 115 | console.log('Subnet ID:', subnetId); |
| 116 | console.log('F410 Address:', f410Address); |
| 117 | |
| 118 | showManualConversionSteps(); |
| 119 | tryDirectConversion(); |
| 120 | showQueryExample(); |
| 121 | |
| 122 | // If you already know the Ethereum address, uncomment and use: |
| 123 | // const ethAddress = "0x..."; // Replace with actual converted address |
| 124 | // const rpcUrl = "http://localhost:8545"; // Your RPC URL for chain 31337 |
| 125 | // await queryPermissionMode(ethAddress, rpcUrl); |
| 126 | } |
| 127 | |
| 128 | if (require.main === module) { |
| 129 | main().catch(console.error); |
no test coverage detected