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
0answers
15 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 ...
1
vote
0answers
18 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
0
votes
0answers
28 views

Getting Error: TextEncoder is not defined

I am having this error "TextEncoder is not defined" here my code: let json = JSON.stringify({"hello": 55}); const utf8encode= utf8.encode(json); const messageId = await client....
0
votes
0answers
16 views

How to send a json as message in nodejs?

I'm reading the node client tutorial and in the client.message endpoint, as I convert the value of data, I mean this line of code "const message = await client.message().index('IOTA. RS BINDING - ...
0
votes
2answers
23 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 ...
2
votes
1answer
46 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 ...
2
votes
0answers
37 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 ...
2
votes
1answer
50 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(...
1
vote
1answer
48 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 ...