MCPcopy Create free account
hub / github.com/consensus-shipyard/ipc / main

Function main

scripts/convert_and_query.js:113–126  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

111
112// Main execution
113async 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
128if (require.main === module) {
129 main().catch(console.error);

Callers 1

Calls 3

tryDirectConversionFunction · 0.85
showQueryExampleFunction · 0.85

Tested by

no test coverage detected