Skip to main content

Questions tagged [javascript]

Tag for questions on the javascript library of Iota and related subjects.

Filter by
Sorted by
Tagged with
2 votes
2 answers
48 views

How can I calculate the output id with transaction id and output index? An OutputId is the the concatenation of transactionId+outputIndex where outputIndex needs to be converted to little endian first....
Thoralf's user avatar
  • 166
2 votes
1 answer
128 views

I would like to create a system whereby a client signs a message to authenticate itself in Shimmer. What are my options?
Antonio Nardella's user avatar
1 vote
0 answers
63 views

Have a hornet node set up on AWS, able to access the dashboard and interact with the REST API just fine. However when trying to build a connection to it using nodejs @iota/client ClientBuilder cannot ...
Paul Atreides's user avatar
0 votes
1 answer
135 views

I know MAM is deprecated but I am doing some research on MAM. I was able to send and fetch a data payload of size 740 KB. But when I tried to use a data of 1 MB I am getting this issue with node.js ...
Pranav's user avatar
  • 35
0 votes
2 answers
135 views

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
0 votes
1 answer
122 views

Excited by the upcoming release of Chrysalis I wanted to start a little web app project using the wallet.rs library. Without going into too many details, users on the site will be able to generate an ...
tgeorgiadis's user avatar
1 vote
1 answer
172 views

I have a private tangle with 2 hornet nodes. I tried MAM using one of the devnet nodes by following the example on the official IOTA webpage. Can someone please tell me how do I publish and fetch ...
Pranav's user avatar
  • 35
2 votes
1 answer
69 views

While following the IOTA JavaScript guide, I changed the example node to a main net node - https://nodes.thetangle.org:443 and received the following error message below. How do I get messages from ...
Nathan Hammond's user avatar
1 vote
1 answer
54 views

What's the difference between getNewAddress and generateAddress? Don't see the diferences between them.
Albert Olivé Corbella's user avatar
2 votes
2 answers
253 views

I am trying to use ZMQ feeds to monitor IRI nodes and addresses, but I am having trouble obtaining the "Message" in text and/or JSON. I am using this code: let zmq = require('zeromq') let sock = zmq....
W. Churchill's user avatar
1 vote
1 answer
34 views

When I make a simple request like shown in the iota workshop: https://github.com/iota-community/javascript-iota-workshop - 2.2-fetch-hello.js the newest transaction is not fetched but a random one. ...
user avatar
0 votes
0 answers
34 views

In the poc-ipfs app blueprint from IOTA’s GitHub, they have a config file on the client side (link below), one of the parts of the script contains “apiEndpoint”, I do not know what would go there for ...
W. Churchill's user avatar
1 vote
0 answers
125 views

What I am trying to do is to attach a payload to the tangle using MAM protocol. If I run this loop for k=5 times it works fine i.e., data is attached to the Tangle. I confirmed that the data is ...
user3582228's user avatar
2 votes
1 answer
146 views

i'm trying to promote a transaction by using the following code const spamTransfer = [{address: '9'.repeat(81), value: 0, message: '', tag: ''}] iota.promoteTransaction(hash, 10, 9, spamTransfer, {...
alle.manfredi's user avatar
0 votes
2 answers
170 views

I'm always getting this error without understanding why. TypeError: Cannot read property 'toTrytes' of undefined Code: // Require the use of IOTA library const Iota = require('@iota/core') // ...
Mo G.'s user avatar
  • 1

15 30 50 per page