Skip to content

HTS example updates comparing to JS example #8

@SimiHunjan

Description

@SimiHunjan

JS:

🏁 Hello Future World - HTS Fungible Token - start …
Read .env file
Using account: 0.0.1455

🟣 Creating new HTS token …
↪️ file:///workspace/hello-future-world-js/hts/script-hts-ft.js:46:16
The token create transaction ID: 0.0.1455@1728087493.102097543
tokenId: 0.0.4951272

🟣 View the token on HashScan …
↪️ file:///workspace/hello-future-world-js/hts/script-hts-ft.js:90:16
Paste URL in browser:
https://hashscan.io/testnet/token/0.0.4951272

🟣 Get token data from the Hedera Mirror Node …
↪️ file:///workspace/hello-future-world-js/hts/script-hts-ft.js:101:16
The token Hedera Mirror Node API URL:
https://testnet.mirrornode.hedera.com/api/v1/tokens/0.0.4951272
The name of this token: htsFt coin
The total supply of this token: 1000000

🎉 Hello Future World - HTS Fungible Token - complete …

🔢 Summary metrics …

Has completed a task: true
First task completed ID: hcsTopic
Time to first task completion: 1min 20.0s
Time to all tasks completion: 21min 40.5s
Total number of task completions: 2

Completed tasks: 2
(1) Task ID: hcsTopic
Time taken to complete (first): 20.4s
Time taken to complete (latest): 20.4s
Errors prior to completion: 0
(2) Task ID: htsFt (latest)
Time taken to complete (first): 1min 8.3s
Time taken to complete (latest): 1min 8.3s
Errors prior to completion: 0

Attempted but incomplete tasks: 0

View HCS metrics on HashScan:
https://hashscan.io/testnet/topic/0.0.4573319
Using the anonymised key: 56ad57bf7baaaf5ec88bba0a64b78c44
gitpod /workspace/hello-future-world-js/hts (main) $

Java:

🏁 Hello Future World - HTS Fungible Token - start
Using account: 0.0.1455
🟣 Creating new HTS token
The token create transaction ID: 0.0.1455@1728087467.807000000
Token ID: 0.0.4951271
View the token on HashScan
Token Hashscan URL:
https://hashscan.io/testnet/token/0.0.4951271
🟣 Get token data from the Hedera Mirror Node
The token Hedera Mirror Node API URL:
https://testnet.mirrornode.hedera.com/api/v1/tokens/0.0.4951271
The name of this token: htsFt coin
The total supply of this token: 1000000
🎉 Hello Future World - HTS Fungible Token - complete

  • View token on hashscan is missing a purple circle: View the token on HashScan
  • The "..." are missing from the end of each step
  • The action from the user to hit enter at the end of each step is missing
  • Metrics are missing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions