liquidx
box to give us all of the logic, contracts, and unit tests#define LIQUIDX
liquidx
box must be unboxed and #define LIQUIDX
must be added at the top of the smart contract which uses the DAPP Network services. tokenpegx
then this is already handled for youliquidx-mappings/sidechain_name.dappservices.json
sidechain_name
to chain_account
/zeus_boxes/liquidx/models/liquidx-mappings/sidechain_name.dappservices.json
- this maps the dappservices account on the mainnet to the dappservicex account name on the new chainsidechain_name
- EOS mainnet account that has registered the chainmainnet_account
- dappservices account on EOS mainnetchain_account
- dappservicex account on new chain - enter the sidechain_name as the scope for the chainentry
table, the dappservices_contract
key will list the account name neededeosio-chains/${CHAIN_ACCOUNT}.json
/zeus_boxes/liquidx/models/eosio-chains/${CHAIN_ACCOUNT}.json
- this maps the chainβs configuration detailsdsp_port
- port DSP gateway runs onwebhook_dapp_port
- webhook portnodeos_host
- nodeos host addressnodeos_port
- nodeos portsecured
- bool true/false for http/https for the nodeos addressnodeos_state_history_port
- port for nodeos state history websocketnodeos_p2p_port
- nodeos peer 2 peer portnodeos_endpoint
- full nodeos endpointdemux_port
- demux portname
- name of the chain accountlocal
- bool whether chain is local or not--sidechain
flag must be passed to zeus compile --sidechain $SIDE_CHAIN_NAME
.@eosio.code
to the active permission level of the account. This can be done with the --add-code
flag on the cleos set account permission
command../contracts/eos/dappservices/dappservices.config.hpp
we see:_TEST1
at all above, something is wrong and likely you need to remove the files suggested above.