rllola 7d5f3354b6 Update README; 'valueencoding' configuration required for rpc call; | 4 лет назад | |
---|---|---|
.. | ||
updater | 5 лет назад | |
README.md | 4 лет назад | |
SiteManagerPlugin.py | 5 лет назад | |
__init__.py | 5 лет назад |
Zeroname plugin to connect Namecoin and register all the .bit domain name.
You can create your own Zeroname.
You need to run a namecoin node.
You will need to start it as a RPC server.
Example of ~/.namecoin/namecoin.conf
minimal setup:
daemon=1
rpcuser=your-name
rpcpassword=your-password
rpcport=8336
server=1
txindex=1
valueencoding=utf8
Don't forget to change the rpcuser
value and rpcpassword
value!
You can start your node : ./namecoind
You will also need to create a site python zeronet.py createSite
and regitser the info.
In the site you will need to create a file ./data/<your-site>/data/names.json
with this is it:
{}
zeroname_config.json
fileIn ~/.namecoin/zeroname_config.json
{
"lastprocessed": 223910,
"zeronet_path": "/root/ZeroNet", # Update with your path
"privatekey": "", # Update with your private key of your site
"site": "" # Update with the address of your site
}
You can now run the script : updater/zeroname_updater.py
and wait until it is fully sync (it might take a while).