1

I have a private tangle with 2 hornet nodes. I tried MAM using one of the devnet nodes by following the example on the official IOTA webpage. Can someone please tell me how do I publish and fetch messages from a private tangle?

I tried changing the const provider to 'http:// IP_of_node:port number' but this did not work.

Please find the screenshots of the code which I used for the devnet.enter image description hereenter image description here

Antonio Nardella
  • 1,074
  • 5
  • 17
Pranav
  • 35
  • 5
  • I’m voting to close this question because it is about the legacy-network and it is a good idea to keep only Shimmer/ShimmerEVM and latest IOTA Chrysalis questions – Antonio Nardella Apr 24 '23 at 14:02

1 Answers1

1

Provider URL does not point to your private tangle. You need to add the url to one of your private tangle nodes. And then from there you can try to fetch the information you sent to see if it really works.