MultiversX Observing Squad

In order to integrate with the MultiversX Network and be able to broadcast transactions and query blockchain data in an optimized approach, one needs to set up an on-premises Observing Squad. An Observing Squad is defined as a set of N Observer Nodes (one for each Shard, including the Metachain) plus an MultiversX Proxy instance which will connect to these Observers and provide an HTTP API (by delegating requests to the Observers).

The snapshotless mode allows you to quickly synchronize with the network and perform Rest API calls for retrieving real-time data from the blockchain, such as getting data of an address (GET /address/${address}), getting the balance of an address (GET /address/${address}/balance), sending transactions, performing Smart Contract Queries and many more .

Full List of supported Operations can be found here : https://docs.multiversx.com/sdk-and-tools/proxy/#snaphotless-observers-support

Creating an App using the Control Panel

Click the Deploy to DigitalOcean button to create a Droplet based on this 1-Click App. If you aren’t logged in, this link will prompt you to log in with your DigitalOcean account.

Deploy to DO

Creating an App using the API

In addition to creating a Droplet from the MultiversX Observing Squad 1-Click App using the control panel, you can also use the DigitalOcean API. As an example, to create a 4GB MultiversX Observing Squad Droplet in the SFO2 region, you can use the following curl command. You need to either save your API access token) to an environment variable or substitute it in the command below.

curl -X POST -H 'Content-Type: application/json' \
         -H 'Authorization: Bearer '$TOKEN'' -d \
        '{"name":"choose_a_name","region":"sfo2","size":"s-2vcpu-4gb","image": "multiversx-multiversxobserv"}' \
        "https://api.digitalocean.com/v2/droplets"

Getting Started After Deploying MultiversX Observing Squad

A systemd service will start docker compose and run all the Multiversx Observers shards in snapshotless mode .

We are running an experimental UI based on OliveTin. You can connect to it at http://:1337/login

The default credentials are: mvx/mvx

There are several tools to help you check the status of the deployed squad.

The same tools are available on the server at this path: /opt/multiversx-observing-squad-tools/

Make sure to allow port 22 and 8079 in your security group settings if you’re planning to make the api calls over the internet (ufw allow 8079).

curl -s -k <yourip>:8079/network/config

Full list of supported operations in snapshotless mode can be found here: https://docs.multiversx.com/sdk-and-tools/proxy/#snaphotless-observers-support