Address Generation [Hello World Tutorial]


Author
Message
ChristopherJ
C
Attaching to Tangle (88 reputation)Attaching to Tangle (88 reputation)Attaching to Tangle (88 reputation)Attaching to Tangle (88 reputation)Attaching to Tangle (88 reputation)Attaching to Tangle (88 reputation)Attaching to Tangle (88 reputation)Attaching to Tangle (88 reputation)Attaching to Tangle (88 reputation)
Group: Forum Members
Posts: 12, Visits: 42

On the "Hello, World" tutorial on the webpage, I'm not getting an address generated after inputting a valid seed. I'm following the directions verbatim in https://learn.iota.org/tutorial/payments-and-messaging-leaderboard. Has anything changed that I'm not aware?


Edited 2 Years Ago by Winston
HELP
Winston
Winston
Forum Admin (33K reputation)Forum Admin (33K reputation)Forum Admin (33K reputation)Forum Admin (33K reputation)Forum Admin (33K reputation)Forum Admin (33K reputation)Forum Admin (33K reputation)Forum Admin (33K reputation)Forum Admin (33K reputation)
Group: Administrators
Posts: 3.6K, Visits: 6.8K
Thanks for the question, Christopher. I've moved this post to the Technical forum, and I'll cross post the answer to this thread if it's answered on slack first.
umpc
u
Attaching to Tangle (4 reputation)Attaching to Tangle (4 reputation)Attaching to Tangle (4 reputation)Attaching to Tangle (4 reputation)Attaching to Tangle (4 reputation)Attaching to Tangle (4 reputation)Attaching to Tangle (4 reputation)Attaching to Tangle (4 reputation)Attaching to Tangle (4 reputation)
Group: Forum Members
Posts: 4, Visits: 0
ChristopherJ - 26 Sep 2017

On the "Hello, World" tutorial on the webpage, I'm not getting an address generated after inputting a valid seed. I'm following the directions verbatim in https://learn.iota.org/tutorial/payments-and-messaging-leaderboard. Has anything changed that I'm not aware?


Hello,
Are you running your own full node locally?
This tutorial requires the use of the 'attachToTangle' API command, which is unavailable on public full nodes.
You will need to run your own full node in order to properly use this. If that is not the issue, it could be a bug of some sort.
proto
proto
Attached to Tangle (260 reputation)Attached to Tangle (260 reputation)Attached to Tangle (260 reputation)Attached to Tangle (260 reputation)Attached to Tangle (260 reputation)Attached to Tangle (260 reputation)Attached to Tangle (260 reputation)Attached to Tangle (260 reputation)Attached to Tangle (260 reputation)
Group: Forum Members
Posts: 5, Visits: 3
umpc - 26 Sep 2017
ChristopherJ - 26 Sep 2017

On the "Hello, World" tutorial on the webpage, I'm not getting an address generated after inputting a valid seed. I'm following the directions verbatim in https://learn.iota.org/tutorial/payments-and-messaging-leaderboard. Has anything changed that I'm not aware?


Hello,
Are you running your own full node locally?
This tutorial requires the use of the 'attachToTangle' API command, which is unavailable on public full nodes.
You will need to run your own full node in order to properly use this. If that is not the issue, it could be a bug of some sort.

Hi Christopher,

You can also set a remote node to use instead of the"localhost:xxxx" when you initialize it in the tutorial.
Try setting one of the public remote hosts, and then try.
Also, you can always see what the actual error is, when you look at the inspection + console in your browser.

ChristopherJ
C
Attaching to Tangle (88 reputation)Attaching to Tangle (88 reputation)Attaching to Tangle (88 reputation)Attaching to Tangle (88 reputation)Attaching to Tangle (88 reputation)Attaching to Tangle (88 reputation)Attaching to Tangle (88 reputation)Attaching to Tangle (88 reputation)Attaching to Tangle (88 reputation)
Group: Forum Members
Posts: 12, Visits: 42
umpc - 26 Sep 2017
ChristopherJ - 26 Sep 2017

On the "Hello, World" tutorial on the webpage, I'm not getting an address generated after inputting a valid seed. I'm following the directions verbatim in https://learn.iota.org/tutorial/payments-and-messaging-leaderboard. Has anything changed that I'm not aware?


Hello,
Are you running your own full node locally?
This tutorial requires the use of the 'attachToTangle' API command, which is unavailable on public full nodes.
You will need to run your own full node in order to properly use this. If that is not the issue, it could be a bug of some sort.

Thank you for the reply! I don't think I am running publicly. I cloned the code (from the tutorial) into my local repository, but I set aside the 'attachToTangle' advisory. I'm going to be working on it a bit later. How would I distinguish if I'm local and if I am, is the attach.. method included by default? If you point me in the right direction, I'll learn by experience.
ChristopherJ
C
Attaching to Tangle (88 reputation)Attaching to Tangle (88 reputation)Attaching to Tangle (88 reputation)Attaching to Tangle (88 reputation)Attaching to Tangle (88 reputation)Attaching to Tangle (88 reputation)Attaching to Tangle (88 reputation)Attaching to Tangle (88 reputation)Attaching to Tangle (88 reputation)
Group: Forum Members
Posts: 12, Visits: 42
umpc - 26 Sep 2017
ChristopherJ - 26 Sep 2017

On the "Hello, World" tutorial on the webpage, I'm not getting an address generated after inputting a valid seed. I'm following the directions verbatim in https://learn.iota.org/tutorial/payments-and-messaging-leaderboard. Has anything changed that I'm not aware?


Hello,
Are you running your own full node locally?
This tutorial requires the use of the 'attachToTangle' API command, which is unavailable on public full nodes.
You will need to run your own full node in order to properly use this. If that is not the issue, it could be a bug of some sort.

Note: I MIGHT have set up publicly.. will need to check.
umpc
u
Attaching to Tangle (4 reputation)Attaching to Tangle (4 reputation)Attaching to Tangle (4 reputation)Attaching to Tangle (4 reputation)Attaching to Tangle (4 reputation)Attaching to Tangle (4 reputation)Attaching to Tangle (4 reputation)Attaching to Tangle (4 reputation)Attaching to Tangle (4 reputation)
Group: Forum Members
Posts: 4, Visits: 0
ChristopherJ - 27 Sep 2017
umpc - 26 Sep 2017
ChristopherJ - 26 Sep 2017

On the "Hello, World" tutorial on the webpage, I'm not getting an address generated after inputting a valid seed. I'm following the directions verbatim in https://learn.iota.org/tutorial/payments-and-messaging-leaderboard. Has anything changed that I'm not aware?


Hello,
Are you running your own full node locally?
This tutorial requires the use of the 'attachToTangle' API command, which is unavailable on public full nodes.
You will need to run your own full node in order to properly use this. If that is not the issue, it could be a bug of some sort.

Note: I MIGHT have set up publicly.. will need to check.

Start here: https://iotasupport.com/gettingstarted.shtml
Depending on how tech-savvy you are, you can choose to setup a full node with your wallet (GUI-based) or run a headless node (CLI-based).

If you don't want to setup a full-node, there seems to be a way to import the curl library and then connect it to the IOTA JavaScript library to do the attachToTangle in the browser: https://github.com/iotaledger/iota.lib.js/pull/69#issuecomment-330432603 though I cannot personally confirm if that works or not. You would have to set that up within the tutorial's code itself.

Not the most beginner-friendly, but the idea is that attatchToTangle involves performing the slightly CPU-expensive proof of work function, which is why public nodes block remote users from triggering it. It could be used to cause a denial of service attack against the node.
ChristopherJ
C
Attaching to Tangle (88 reputation)Attaching to Tangle (88 reputation)Attaching to Tangle (88 reputation)Attaching to Tangle (88 reputation)Attaching to Tangle (88 reputation)Attaching to Tangle (88 reputation)Attaching to Tangle (88 reputation)Attaching to Tangle (88 reputation)Attaching to Tangle (88 reputation)
Group: Forum Members
Posts: 12, Visits: 42
umpc - 27 Sep 2017
ChristopherJ - 27 Sep 2017
umpc - 26 Sep 2017
ChristopherJ - 26 Sep 2017

On the "Hello, World" tutorial on the webpage, I'm not getting an address generated after inputting a valid seed. I'm following the directions verbatim in https://learn.iota.org/tutorial/payments-and-messaging-leaderboard. Has anything changed that I'm not aware?


Hello,
Are you running your own full node locally?
This tutorial requires the use of the 'attachToTangle' API command, which is unavailable on public full nodes.
You will need to run your own full node in order to properly use this. If that is not the issue, it could be a bug of some sort.

Note: I MIGHT have set up publicly.. will need to check.

Start here: https://iotasupport.com/gettingstarted.shtml
Depending on how tech-savvy you are, you can choose to setup a full node with your wallet (GUI-based) or run a headless node (CLI-based).

If you don't want to setup a full-node, there seems to be a way to import the curl library and then connect it to the IOTA JavaScript library to do the attachToTangle in the browser: https://github.com/iotaledger/iota.lib.js/pull/69#issuecomment-330432603 though I cannot personally confirm if that works or not. You would have to set that up within the tutorial's code itself.

Not the most beginner-friendly, but the idea is that attatchToTangle involves performing the slightly CPU-expensive proof of work function, which is why public nodes block remote users from triggering it. It could be used to cause a denial of service attack against the node.

I do have the Iota wallet set up; I'm presuming that I can go from here to find if I'm public or local currently. I think that I set up the light wallet, also.. Back to the drawing board, yes?
umpc
u
Attaching to Tangle (4 reputation)Attaching to Tangle (4 reputation)Attaching to Tangle (4 reputation)Attaching to Tangle (4 reputation)Attaching to Tangle (4 reputation)Attaching to Tangle (4 reputation)Attaching to Tangle (4 reputation)Attaching to Tangle (4 reputation)Attaching to Tangle (4 reputation)
Group: Forum Members
Posts: 4, Visits: 0
ChristopherJ - 27 Sep 2017
umpc - 27 Sep 2017
ChristopherJ - 27 Sep 2017
umpc - 26 Sep 2017
ChristopherJ - 26 Sep 2017

On the "Hello, World" tutorial on the webpage, I'm not getting an address generated after inputting a valid seed. I'm following the directions verbatim in https://learn.iota.org/tutorial/payments-and-messaging-leaderboard. Has anything changed that I'm not aware?


Hello,
Are you running your own full node locally?
This tutorial requires the use of the 'attachToTangle' API command, which is unavailable on public full nodes.
You will need to run your own full node in order to properly use this. If that is not the issue, it could be a bug of some sort.

Note: I MIGHT have set up publicly.. will need to check.

Start here: https://iotasupport.com/gettingstarted.shtml
Depending on how tech-savvy you are, you can choose to setup a full node with your wallet (GUI-based) or run a headless node (CLI-based).

If you don't want to setup a full-node, there seems to be a way to import the curl library and then connect it to the IOTA JavaScript library to do the attachToTangle in the browser: https://github.com/iotaledger/iota.lib.js/pull/69#issuecomment-330432603 though I cannot personally confirm if that works or not. You would have to set that up within the tutorial's code itself.

Not the most beginner-friendly, but the idea is that attatchToTangle involves performing the slightly CPU-expensive proof of work function, which is why public nodes block remote users from triggering it. It could be used to cause a denial of service attack against the node.

I do have the Iota wallet set up; I'm presuming that I can go from here to find if I'm public or local currently. I think that I set up the light wallet, also.. Back to the drawing board, yes?

You would need to setup a full node unless you modify the tutorial example. That was what I was linking to.

In my opinion, I don't think this is a good tutorial for beginners because of how it requires people to ether run a full node or edit the tutorial to get it working. Another person had the same issue as you in the comments on the original page where it explains the tutorial.
ChristopherJ
C
Attaching to Tangle (88 reputation)Attaching to Tangle (88 reputation)Attaching to Tangle (88 reputation)Attaching to Tangle (88 reputation)Attaching to Tangle (88 reputation)Attaching to Tangle (88 reputation)Attaching to Tangle (88 reputation)Attaching to Tangle (88 reputation)Attaching to Tangle (88 reputation)
Group: Forum Members
Posts: 12, Visits: 42
umpc - 27 Sep 2017
ChristopherJ - 27 Sep 2017
umpc - 27 Sep 2017
ChristopherJ - 27 Sep 2017
umpc - 26 Sep 2017
ChristopherJ - 26 Sep 2017

On the "Hello, World" tutorial on the webpage, I'm not getting an address generated after inputting a valid seed. I'm following the directions verbatim in https://learn.iota.org/tutorial/payments-and-messaging-leaderboard. Has anything changed that I'm not aware?


Hello,
Are you running your own full node locally?
This tutorial requires the use of the 'attachToTangle' API command, which is unavailable on public full nodes.
You will need to run your own full node in order to properly use this. If that is not the issue, it could be a bug of some sort.

Note: I MIGHT have set up publicly.. will need to check.

Start here: https://iotasupport.com/gettingstarted.shtml
Depending on how tech-savvy you are, you can choose to setup a full node with your wallet (GUI-based) or run a headless node (CLI-based).

If you don't want to setup a full-node, there seems to be a way to import the curl library and then connect it to the IOTA JavaScript library to do the attachToTangle in the browser: https://github.com/iotaledger/iota.lib.js/pull/69#issuecomment-330432603 though I cannot personally confirm if that works or not. You would have to set that up within the tutorial's code itself.

Not the most beginner-friendly, but the idea is that attatchToTangle involves performing the slightly CPU-expensive proof of work function, which is why public nodes block remote users from triggering it. It could be used to cause a denial of service attack against the node.

I do have the Iota wallet set up; I'm presuming that I can go from here to find if I'm public or local currently. I think that I set up the light wallet, also.. Back to the drawing board, yes?

You would need to setup a full node unless you modify the tutorial example. That was what I was linking to.

In my opinion, I don't think this is a good tutorial for beginners because of how it requires people to ether run a full node or edit the tutorial to get it working. Another person had the same issue as you in the comments on the original page where it explains the tutorial.

I understand. I'm probably intermediate, in terms of Computer Science. I'll just have to learn by failing fast.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Login

Explore
Messages
Mentions
Search