Skip to content

Update the output of the Java example for HCSΒ #7

@SimiHunjan

Description

@SimiHunjan

In JS we have:

🏁 Hello Future World - HCS Topic - start …
Read .env file
Using account: 0.0.1455

🟣 Creating new HCS topic …
β†ͺ️ file:///workspace/hello-future-world-js/hcs/script-hcs-topic.js:46:16
The topic create transaction ID: 0.0.1455@1728086282.059390268
topicId: 0.0.4951245

🟣 Publish message to HCS topic …
β†ͺ️ file:///workspace/hello-future-world-js/hcs/script-hcs-topic.js:71:16
The message submit create transaction ID: 0.0.1455@1728086283.347959448
topicMsgSeqNum: 1

🟣 View the topic on HashScan …
β†ͺ️ file:///workspace/hello-future-world-js/hcs/script-hcs-topic.js:109:16
Paste URL in browser:
https://hashscan.io/testnet/topic/0.0.4951245

🟣 Get topic data from the Hedera Mirror Node …
β†ͺ️ file:///workspace/hello-future-world-js/hcs/script-hcs-topic.js:120:16
The topic Hedera Mirror Node API URL:
https://testnet.mirrornode.hedera.com/api/v1/topics/0.0.4951245/messages?encoding=base64&limit=5&order=asc&sequencenumber=1
Number of messages retrieved from this topic: 1
Messages retrieved from this topic: [ '#1: Hello HCS!' ]

πŸŽ‰ Hello Future World - HCS Topic - complete …

In Java we have:
🏁 Hello Future World - HCS Topic - start
Using account: 0.0.1455
🟣 Creating new HCS topic
The topic create transaction ID: 0.0.1455@1728086142.601000000
Topic ID:0.0.4951237
🟣 Publish message to HCS topic
The topic message submit transaction ID: 0.0.1455@1728086145.840000000
Topic Message Sequence Number:1
🟣 View the topic on HashScan
Topic Hashscan URL:
https://hashscan.io/testnet/topic/0.0.4951237
Get topic data from the Hedera Mirror Node
The topic Hedera Mirror Node API URL:
https://testnet.mirrornode.hedera.com/api/v1/topics/0.0.4951237/messages?encoding=base64&limit=5&order=asc&sequencenumber=1
Number of messages retrieved from this topic: 1
Messages retrieved from this topic: [#1: Hello HCS!]
πŸŽ‰ Hello Future World - HCS Topic - complete

Missing:

  • ... after the step name i.e. 🟣 Creating new HCS topic should be 🟣 Creating new HCS topic...

Everything else looks good I think.

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