-
Notifications
You must be signed in to change notification settings - Fork 1
Description
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.