API service
Deploy Sovereign API service
Step 1: Get the mx-api-service
Repository
-
Clone the GitHub repository:
git clone https://github.com/multiversx/mx-api-service.git
-
Checkout the sovereign branch and navigate to testnet directory:
cd mx-api-service && git fetch && git checkout feat/sovereign
Step 2: Edit API config
-
Navigate to the
config
folder:cd config
-
Update the configuration files (we are starting from testnet configuration in this example):
config.testnet.yaml
- enable/disable or configure the services you needdapp.config.testnet.json
- dapp configuration file
Step 3: Start Sovereign API service
npm run start:testnet
Deploy Sovereign Extras service
The extras service only includes the faucet
option at the moment.
Step 1: Get the mx-lite-extras-service
Repository
git clone https://github.com/multiversx/mx-lite-extras-service.git
Step 2: Update extras configuration files
.env.custom
- changeAPI_URL
andGATEWAY_URL
with your own URLsconfig/config.yaml
- update the faucet configuration parameters as needed
Step 3: Start Sovereign Extras service
NODE_ENV=custom npm run start:faucet
Read more about deploying API service in GitHub.