Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Hot answers tagged

6

ixi/hello_world/package.json {"main": "index.js"} ixi/hello_world/index.js function hello_world_impl(req) { return com.iota.iri.service.dto.IXIResponse.create({greeting: "Hello, world!"}); } API.put("helloWorld", new com.iota.iri.service.CallableRequest({call: hello_world_impl})); How to call: curl http://localhost:14700 -X POST -H 'X-IOTA-API-...


4

The main contract of IOTA eXtending Interface is to provide extra functionality, e.g. messaging provided by MAM (Masked Authenticated Messaging). IOTA protocol must be set in stone to let hardware manufacturers start producing IoT devices (FPGA/ASIC-based ones), so we can't wait for all possible extensions to IOTA to be created. This is where IXI comes to ...


3

There are no official tutorials for the IXI modules yet. You can write javascript according to the "JavaScript Nashorn engine" specifications. This is a good place to learn more about it: https://wiki.openjdk.java.net/display/Nashorn/Nashorn%3A+Articles%2C+Documents%2C+Slides+and+Videos Since the IOTA/iota object (Iota.java) class is exposed, you can use ...


1

Unfortunately, there is no configuration parameter or runtime flag available to enable more explicit logging for IXI modules. What you can do is modifying the code in IXI.java to have more details. Of course you need to recompile the IRI. Here is an example of what you can do in IXI.java : Replace those lines of code in IXI.java (line 256) try { ...


1

As reported the use of mam.client.js is deprecated. Try with the source from http://iotameetup.nl and watch this @ 1:21:00 as already suggested by this answer.


1

No, it's not possible. The UDP port indicated in the configuration only checks for transactions as incoming data. If a neighbor sends anything else than a transaction, a log entry "Received an Invalid TransactionViewModel. Dropping it..." will get generated. If an unknown machine sends anything to the node and the node is not configured as a testnet node, ...


Only top voted, non community-wiki answers of a minimum length are eligible