and having some trouble setting goal, algod, kmd. If anyone knows something about my problem, please help me.
You need to install Docker, Docker Compose and the Algorand Sandbox:
An alternative is to directly install the Algorand software: Install a Node - Algorand Developer Portal
No need to run a node, just install the software.
You don’t need any of goal, algod, or kmd if you are working with an API provider, just your SDK of choice.
A general tutorial for the PureStake API and creating tx is here - Creating a JavaScript Transaction with the PureStake API | Algorand Developer Portal .
How can I install it in windows?
Is there any tutorial for purestake other than the one provided by the algorand site?
I am unable to use sandbox due to the path issues in windows. I used git bash, but it asked the path of ubuntu, and I don’t know how to set a path for it.
There are code samples here - GitHub - PureStake/api-examples: code samples for API - but most tutorials are on the Algorand site.
What issues do you get?
First, as @Tim mentioned, you do not need the Algorand software (goal
, msgpacktool
, …) for most tutorials. But it is sometimes convenient.
To install Algorand software on Winodws:, you have multiple options:
- Use sandbox: have you tried this patch: Fix issues on Windows 10 + MSYS 2 by fabrice102 · Pull Request #58 · algorand/sandbox · GitHub, Docker installation on Windows - #2 by fabrice
- Use the Windows distribution: GitHub - randlabs/algorand-windows-node: Algorand Node Microsoft Windows support
- Use WSL 2 and install the Ubuntu version - this is most likely the closest to Ubuntu and would make tutorial easier to follow. Steps:
- Install Ubuntu 20.04 on WSL 2: Install WSL on Windows 10 | Microsoft Docs
- Install Algorand node for Debian / Ubuntu 20.04: Install a Node - Algorand Developer Portal
- Install Ubuntu in VirtualBox
I learned how to use the purestake API, and now I identified the token, server, and port from the code samples. Thanks a lot.
Thanks, I do work with that earlier without knowing what the problem I face later is.