Questions tagged [client-library]

For questions related to the IOTA Client library (https://client-lib.docs.iota.org/)

Filter by
Sorted by
Tagged with
1 vote
1 answer
13 views

Problem with @iota/client npm package in react app

I am trying to use @iota/client package. But on building react application I get this error: /node_modules/@iota/client/out/lib/Client.js:1:2 1: MZ��!�☺L�!This program cannot be run in DOS mode. ...
Sam Rouski's user avatar
3 votes
1 answer
168 views

OverflowError: out of range integral type conversion attempted in iota_client Python library

I am trying to send a list data to IOTA Ledger as follow client = iota_client.Client() message_temperature = client.message( index="Pasteur1_Tempdata", data=temp_list ) where my temp_list is ...
K.Baig's user avatar
  • 41
1 vote
1 answer
62 views

Cannot send transction or basic ouput with iota.c

I am using the latest version of iota.c client lib (v1.0.1) together with a local hornet node (v2.0.0-rc2). When compiling iota.c and executing the example found here to send a basic output together ...
emDave's user avatar
  • 57
2 votes
1 answer
105 views

How to perform proof of work on the client?

I want to create a block that fulfill the Proof of Work requirement. After reading sparse documentation my understanding on how to do it is: 1- Serialize the block(message) excluding the 8-byte Nonce ...
user avatar
1 vote
0 answers
11 views

Access the Explorer from my application

In my application, I need to do some regular checks into the Tangle Explorer. I wonder if it's possible to access the Tangle Explorer directly from my application code, in order to automate the checks ...
Matteo D'Onofrio's user avatar
1 vote
2 answers
61 views

Conflicting data types iota.c and streams

So currently I'm working on an open source tangle gateway in C++ called lotti which makes use of iota.c library to send encrypted and decrypted messages which works fine. As I want to add iota streams ...
emDave's user avatar
  • 57
1 vote
0 answers
27 views

IOTA Client Library (Python), how to best wait for a message

Using the Client Library (Python), what is the best way to wait for a message (of a certain index), then execute some code based on the message received? Thanks & regards
cucub's user avatar
  • 11
0 votes
2 answers
103 views

How can i get messages using the index in the node.js client

Thank you in advance. I would like to have a working example using the node.js client of iota, where i give an index to a function and the function returns to me the messages or the message ids. I ...
user avatar
2 votes
1 answer
62 views

Deployment Problem with implementation in AWS IOTA Client in API Project

I used to have a problem with the deployment of an API using @ iota / client for sending and receiving messages using AWS services. I will show you a line of changes that I have been applying ...
JuanHost's user avatar
2 votes
0 answers
95 views

Error npm install dependencies - @iota/client deploy AWS - node api project

I did some local tests with my node-api-express; it works well when I send a message. So for the next step, I deployed it in ElasticBean AWS. But the console prints this error: [ERROR] An error ...
JuanHost's user avatar
2 votes
1 answer
134 views

Get data from Message by MessageId or Index

I use iota/Cliente, to submit a message with some data from a json file. Now i try to get this data using getMessage() with the messageId or Index. I try this: const client = new ClientBuilder().build(...
JuanHost's user avatar
1 vote
1 answer
63 views

How to build SigLockedDustAllowanceOutput in iota client python?

I read the doc and was able to send transaction by message(). But I couldn't find how to add output as SigLockedDustAllowanceOutput. It seems the default is SigLockedSingleOutput. The following the ...
leftc's user avatar
  • 13