Register chain
Register chain
You must execute the setchain
action on the liquidx.dsp
account on the EOS mainnet with the mainnet account created to represent the chain name. The syntax is as follows:
chain_name
{name} - name of EOS mainnet account deploying chain, e.g., mynewchainnnchain_meta
{chain_metadata_t} - chain datais_public
{bool} - whether the chain is publicis_single_node
{bool} - whether chain is a single nodedappservices_contract
{std::string} - account thatdappservicex.cpp
is deployed to, e.g., dappservicexchain_id
{std::string} - chain ID of sidechaintype
{std::string} - type of blockchain, e.g., EOSIOendpoints
{std::vectorstd::string} - list of public endpoints for developers to usechain_json_uri
{std::vectorstd::string} - publicly available json file that declares chain statistics
Example cleos command:
After that, you must run the init
action on the dappservicex
contract.
chain_name
{name} - name of EOS mainnet account deploying chain, e.g., mynewchainnn
Example cleos command:
And now youβre setup to begin configuring DSPs and then enabling users to use DAPP Network services. DSPs and developers will need to know the chain_name
used on the mainnet and the account the dappservicex.cpp
contract was set to on the new chain.
Last updated