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).
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.
In addition to creating a Droplet from the MultiversX Full Observing Squad 1-Click App using the control panel, you can also use the DigitalOcean API. As an example, to create a 4GB MultiversX Full 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-multiversxfullob"}' \
"https://api.digitalocean.com/v2/droplets"
In full history mode all the data from genesis is retained. This enables querying historical data.
Since the full-archive mode requires additional storage capacity, please add an additional storage volume of 1TB and select the “Automatically Format and Mount” option. This volume will be used to store the blockchain data.
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://gateway.multiversx.com/