hedera-dev / hello-future-world-js

Hello World Sequences in Javascript
4 stars 6 forks source link

Update create account example #2

Closed SimiHunjan closed 2 months ago

SimiHunjan commented 4 months ago

The output of the updated example:

πŸ”΅ Creating, signing and submitting the account create transaction...
The account create transaction ID: 0.0.1455@1720666492.829081097
The new account ID:  0.0.4518518
The new account balance is: 1 ℏ

πŸ”΅ Get account data from the Hedera Mirror Node...
The account info Hedera Mirror Node API request: 
https://testnet.mirrornode.hedera.com/api/v1/accounts/0.0.4518518?limit=1&order=asc&transactiontype=cryptotransfer&transactions=false
The account memo:  Hello Future World from YourNameHere's first account!

πŸ”΅ View the account on HashScan...
URL to your account on HashScan: https://hashscan.io/testnet/account/0.0.4518518

πŸ”΅ View the account create transaction on HashScan...
URL to the account create transaction on HashScan: https://hashscan.io/testnet/transaction/0.0.1455@1720666492.829081097

πŸ”΅ Creating, signing, and submitting the transfer transaction...
transferTxId: 0.0.1455@1720666504.629741571

πŸ”΅ Get transfer transaction data from the Hedera Mirror Node...
The transfer transaction Hedera Mirror Node API request: 
 https://testnet.mirrornode.hedera.com/api/v1/transactions/0.0.1455-1720666504-629741571?nonce=0

The transfer transaction transfer amounts in hbar 
 [ 0.00014591, -5.00152072, 5 ]

πŸ”΅ View the transfer transaction transaction in HashScan...
URL to the transfer transaction on HashScan: https://hashscan.io/testnet/transaction/0.0.1455@1720666504.629741571