0

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

1
  • 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 Apr 24 at 14:02

1 Answer 1

0

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.

1
  • Thank you. I have it working now.
    – Pranav
    Apr 6, 2021 at 19:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.