How to obtain my sandbox node algod_address and algod_token for connecting to the node with SDKs?
it defaults to
const token = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa";
const server = "http://localhost";
const port = 4001;
You can get into the sandbox via the following command as well.
./sandbox enter algod
1 Like
For your own algod_address and algod_token…
- start up the node,
- look in your data directory
- look at the contents of algod.net and algod.token, these files will appear once you start the node and they will disappear when stopped.
1 Like