L1

Install the Docker Engine

Download and install the docker engine from here

Download the Arcology Docker Image

Execute the following command on a machine that already has Docker engine installed to start the DevNet docker image:

>sudo docker run --name arcology-devnet -p 8080:8080 -p 7545:7545 -p 40000:22 -d arcologynetwork/cluster:1.8.0 /root/image/start.sh -D

Once the above command is executed, you will see the following message, indicating a successful image download and container startup:

Unable to find image 'arcologynetwork/cluster:1.8.0' locally
1.8.0: Pulling from arcologynetwork/cluster
edaedc954fb5: Pull complete 
8b6dc67c3895: Pull complete 
Digest: sha256:e5e5204e13bd3d6fc26f552669c4328825d20cfa9fd0b902098fded0a8f14a3d
Status: Downloaded newer image for arcologynetwork/cluster:1.8.0
8035337df7830b63b5a803e711d14ba731a34e8f13f1b200516c0c5dda08c113

Check Connectivity

Use the command below to check if the network is up and running:

curl -i -H 'Content-Type:application/json' -d '{"jsonrpc":"2.0", "method":"eth_blockNumber", "id":"200"}' http://127.0.0.1:7545

You should see something like this if the DevNet is running properly.

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Vary: Origin
Date: Wed, 13 Sep 2023 05:30:42 GMT
Content-Length: 61

{
  "result": "0x22263",
  "id": "200",
  "jsonrpc": "2.0"
}

Stop the DevNet

You can stop the DevNet using the command below.

>sudo docker stop arcology-devnet

Accounts

The DevNet comes with a default setup of 10 pre-generated test accounts, each containing some (simulated) Ether. The corresponding private keys used to generate these accounts are also provided.

Last updated