Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTS example updates comparing to JS example #8

Open
SimiHunjan opened this issue Oct 5, 2024 · 0 comments
Open

HTS example updates comparing to JS example #8

SimiHunjan opened this issue Oct 5, 2024 · 0 comments

Comments

@SimiHunjan
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant