Become a DAPP Service Provider
The CoVax chain utilizes the LiquidX technology to enable DAPP Network services to be provided on EOSIO based chains. To read more on LiquidX, please see the LiquidX section. To learn more about setting up a DAPP Service Provider, see the getting started section.
To obtain a DAPP Service Provider account on CoVax, reach out in the CoVax Telegram channel: https://t.me/CoVaxApp.
Guide:

Update config.toml file

The config.toml file is the environment variable file used for DAPP Service Providers.
1
[sidechains]
2
[sidechains.liquidxcovax]
3
# dsp
4
dsp_port = 3116 # dsp port to run new chain's services on, this is the port developers will push to, must be unique per new chain
5
dsp_account = "" # DSP Account on new chain
6
dsp_private_key = "" # DSP active private key on new chain
7
# nodeos
8
nodeos_host = "" # state history nodeos host running new chain
9
nodeos_port = 8888 # nodeos host port
10
nodeos_secured = false # nodeos secured bool (true: https, false: http)
11
nodeos_chainid = "63788f6e75cdb4ec9d8bb64ce128fa08005326a8b91702d0d03e81ba80e14d27" # chainid of new chain
12
nodeos_websocket_port = 8887 # nodeos websocket port, can be same per nodeos instance
13
nodeos_latest = true # using 2.x nodeos
14
webhook_dapp_port = 8113 # nodeos webhook port, must be unique per chain
15
# demux
16
demux_webhook_port = 3196 # port demux runs on, must be unique per new chain
17
demux_socket_mode = "sub"
18
demux_bypass_database_head_block = false
19
# sidechain
20
name = "liquidxcovax" # CHAIN_NAME - contract on the EOS mainnet that registered the new chain
21
# the mapping below contains the dappservices:dappservicex and mainnet DSP account to the new chain's DSP account mapping
22
mapping = "dappservices:dappservicex,MAINNET_DSP_ACCOUNT:COVAX_CHAIN_DSP_ACCOUNT"
Copied!

Push DSP account mapping action on EOS mainnet

On the EOS mainnet, the EOS mainnet’s DSP account must be connected to the new chain’s DSP account. This is done using the addaccount command on the liquidx.dsp account.
  • owner {name} - DSP account name on the EOS mainnet
  • chain_account {name} - DSP account name on the new chain, liquidxcovax
  • chain_name {name} - account name of contract on the EOS mainnet that registered the chain
Cleos example:
1
cleos -u https://nodes.get-scatter.com:443 push transaction '{"delay_sec":0,"max_cpu_usage_ms":0,"actions":[{"account":"liquidx.dsp","name":"addaccount","data":{"owner":"uuddlrlrbass","chain_account":"uuddlrlrbass","chain_name":"liquidxcovax"},"authorization":[{"actor":"uuddlrlrbass","permission":"active"}]}]}'
Copied!

Push DSP account mapping action on CoVax Chain

Once you have that then on the CoVax chain, submit an adddsp action on that account.
  • owner {name} - DSP name on new chain
  • dsp {name} - DSP name on mainnet
Cleos example:
1
cleos -u http://eosnode-covax.liquidapps.io push transaction '{"delay_sec":0,"max_cpu_usage_ms":0,"actions":[{"account":"dappservicex","name":"adddsp","data":{"owner":"uuddlrlrbass","dsp":"uuddlrlrbass"},"authorization":[{"actor":"uuddlrlrbass","permission":"active"}]}]}'
Copied!
​Next ​ Previous
Last modified 7mo ago