1

There are some use cases where the distributed ledger is extremely useful to store security information in a decentralized storage. But those information need to be pulled out from the tangle by a web page that is stored on a web server that is a centralized entity.

It like my IOTA node (and others) to answer to a browser asking IOTA_NODE/txID with a HTML page that is stored in a TX (or bundle).

The page will interact with the user and extract the required data from the tangle.

Every IOTA nodes could answer alternatively creating distributed front end platform.

I've texted IXI module extension but it seems it support only POST while the web browser use the GET HTTP.

Any suggestion?

  • 1
    This might be a good use case for installing a reverse proxy (e.g., Nginx) in front of the IRI node. It can forward all POST requests directly to the node, while routing GET requests through a different application. Putting a reverse proxy in front of the node also empowers you to implement rate limiting, caching, and other measures, as well as potentially protecting you from being hacked in the event that a security vulnerability is discovered in the IRI codebase. – user5568265 Jan 30 at 4:58
0

Yes, it is possible. There is something called IXI. It is not standardized yet. So, you should not use it for production apps. You can take a look into the MAM IXI module to get an idea how this works. It is basiclly just Javascript which will be executed within the JavaX script engine. So, it is possible to use the internal Java objects in a Javascript IXI module.

  • Thanks Citrullin. Unfortunately the code that manage the HTTP request (API.java) do not manage the GET requests. So even a if one can write am IXI module to mange the request, it will never called by a HTTP GET. Me and my team are working to fix this and submit a pull request to the dev team. – Stefano Della Valle Mar 18 at 8:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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