10

The new Data Marketplace API isn't released yet, this is due in December. This will probably just take some JSON sensor data so you might be able to set that up already. I expect that the first version of the new API/SDK will be in Javascript/Node.js, just like for example the Flash channel library.


8

You can call the GetLatestInclusion convenience function in iota.lib.js. Under the hood, this will first call getNodeInfo to find out the latest solid subtangle milestone hash, and then call getInclusionStates to determine if the transaction has been confirmed at that milestone. This might be useful if you use a different API (for a different programming ...


3

Attaching an address is just sending a 0 value tx to this address. You can use the sendTransfer method of the JavaScript library. It handles the tip-selection (branch- and trunkTransaction) and conversion to trytes for you. import { composeAPI } from '@iota/core' const iota = composeAPI({ provider: 'http://localhost:14265' // replace with your IRI ...


2

The address are usually 90 characters long, which includes 9 characters of checksum. (meaning char(90) column is a good fit) (but api does accept 81 character address which are without checksum in various functions) The seed is 81 characters long, but sometimes it can be less. However for addresses less than 81 characters long, it will need to be padded ...


2

I didn't click the link to the workshop. The way I would do it is to use the getTips api call. This will return all tips including old stale one. However, by examining the IRI code we can see that we have FIFO list that keeps the tips, so I believe that the first one will be the newest transaction... Note that if the node tries to solidify a path, then the ...


2

IOTA in it's current state should be considered as a work in progress protocol. It can technically be used right now, but I'd advice you to use it for Proof of Concepts only at this point, at least until Coordicide has rolled out. If you want to use it for a production platform right now be prepared to do changes later on since some things will change ...


1

Both javascript and python have API libraries support and documents for them. By far, javascript library is most well developed but also note that it has moved on to typescript: iota.js iota.lib.py As for community tutorials, I recommend following to start with: IOTA Developer Essentials IOTA tutorial videos by Mobilefish You can easily learn about ...


1

If you're familiar with Python, you can take a look at iota.lib.py's example: https://github.com/iotaledger/iota.lib.py/tree/master/examples Or javascript, you still can find the documentation on GitHub: https://github.com/iotaledger/iota.lib.js/ For the sake of best experience to test, you may want to build up your own full-node: http://iota.partners/


1

After digging through a lot of code in the Flash API, it seems like creating a channel with deposits of [2000, 0, 0] was the issue. I'm assuming every party MUST deposit some amount of tokens then. When I changed the deposit amounts to [1000, 500, 500], the transactions are being applied properly. The problem was that the stake for a party is 0 if their ...


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