Initial commit

This commit is contained in:
ox42
2026-09-17 00:39:35 +02:00
commit 38ff9d29f8
19 changed files with 5804 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
import prompts from 'prompts';
async function main() {
const { transactionHash }: { transactionHash: `0x${string}` } = await prompts({
type: 'text',
name: 'transactionHash',
message: 'Enter the transaction hash to explore:',
});
if (!transactionHash) {
console.error('Transaction hash is required');
return;
}
console.log(`Transaction hash: ${transactionHash}`);
console.log(`========================================`);
console.log(`Block number: ...`);
console.log(`Sender: ...`);
console.log(`Sender balance: ...`);
console.log(`Recipient: ...`);
console.log(`Recipient balance: ...`);
console.log(`Amount: ...`);
console.log(`Transaction fee: ...`);
console.log(`Transaction status: ...`);
}
main();