This is rudiment of DSN over EOSIO.You can bind it over contract, query the url or ip address by rpc or anything can connect to EOSIO.
For exampl, you can bind enserve.bank
(an EOS MainNet account) with http://eosnameserve.github.io, after that, you can put your eos name to visit your web site by a chrome plugin.
You can use push an action to enserve.bank
with action binddapp
.
Besides, if you want to update it, you can also push this action.
In fact, you also can bind ip address.
you need an eos account and scatter plugin. ensnameserve
cleos push action enserve.bank binddapp '["https://eosnameserve.github.io","enserve.bank"]' -p enserve.bank@active
// todo
you can input your eos account, it will refer to your bind url or ip website. chrome_plugin
cleos get table enserve.bank [YOUR_CONTRACT_NAME] enstables
example: query enserve.bank
info.
•100% ➜ cleos_remote get table enserve.bank enserve.bank enstables
{
"rows": [{
"contract_name": "6120580929069623040",
"dapp": "https://eosnameserve.github.io/"
}
],
"more": false
}
// todo