Skip to content

Create Publication

We are looking for publications that demonstrate building dApps or smart contracts!
See the full list of Gitcoin bounties that are eligible for rewards.

Sandbox Private Network

As explained in the "Set up your development environment" page, for any more advanced development on Algorand, sandbox is the recommended option.

Installing sandbox

Once you have the prerequisites detailed on the sandbox README, you can install the Algorand sandbox:

# clone the sandbox from GitHub
git clone

# enter the sandbox folder
cd sandbox

# run the sandbox executable to start a private network
./sandbox up

Running a private network on sandbox

Starting the sandbox with the up command will take a couple of minutes if this is your first time running the sandbox. The script will make sure to pull all required Docker images before setting up your sandbox.

A successful node installation will print a list of prefunded accounts. Here's an example of the sandbox output.

# Available accounts
./sandbox goal account list




Connect to sandbox using an SDK

To connect to the sandbox using an SDK, you can use the below connection object.

const algosdk = require('algosdk');

// create client object to connect to sandbox's algod client
const algodToken = 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa';
const algodServer = 'http://localhost';
const algodPort = 4001;
const algodClient = new algosdk.Algodv2(algodToken, algodServer, algodPort);

Sandbox Block Explorer (Dappflow)

Now you have a private network with transactions being created, you're going to want to be able to view the transactions and data on it. This is where Dappflow comes in. It's a Block Explorer that can not only access Mainnet and Testnet using public endpoint, but also lets you view your Sandbox network.

Dappflow Explorer