How do I get token for algorand?

Token is mandatory to initialise algod initialization.
How do we get that token.

no that’s not correct. you can run algod without having any tokes.
In fact, many of the relays are running without having any tokens.

Tsachi

@tsachi, ALRIGHT! i am just asking about token concept in algorand.
How can we create token? Is algod is Daemon for algorand.

@rdrk, I’m a little bit confused by your question.
Yes, the algod is the service process. It’s long-lived and keeping it running ensures that your local node is up to date with the new block generated on the chain.
As for your other question “How can we create token?”, I would appreciate if you could explain that further.
Are you asking “How could I create my own private token on top of the algorand block-chain ?” ?
Or maybe you’re asking for “How can I mine for tokens using my node ?”.

In the case of the former, than the answer that at this time there is no inherent level 1 support for that functionality. I suspect that it could be implemented as level two feature by using the note field in the transaction object.

As for the latter one, at this time, you can’t. In a PPoS, there is no “mining” process, and so no miner would gather the fees / rewards. In the future, we might have some rewards for relays; but I’m not aware of any concrete plans/designs.

Tsachi

@tsachi, appreciate your detailed explanation, thank you! But I just have simple curiosity about what is a token value, when we go for client setup, there we have to set server, host and token value. As I am not aware of algod, client setup and other configuration and required entity to get node deployed! It would be great if you guide for the correct understanding about that! Is it possible to start a node with windows operating system?

@rdrk,

I’m not sure which “client setup” you’re referring to. Would you be able to provide screenshots of the locations where you’ve been requested to fill in server, host and token value ?

Regarding the windows operating system, at the present time, we do not support windows operating system natively. It might be possible to use docker ( or a virtual machine ) as a workaround for that, but I have yet to try it myself.

Tsachi

Thank you! I had major confusion about that. Solved now!

No I am not setting any client but I want to refer. I’ve recently followed https://developer.algorand.org/docs/javascript-sdk this.

Ok, thanks for the reference. I think that I finally understand what token you’re referring to.
The token in this context is the http-key-token. Once the user has the node installed and running, it ( i.e. the algod process ) would generate a file named algod.token in the data directory.
This file contains the token which you would pass as a parameter to the SDK.
The other two parameters ( server and port ) are the IP address and port where the algod server is waiting for REST request. You can find that by looking in algod.net ( also in the data directory )

1 Like

@tsachi, thank you. This answer cleared all my confusions.