Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- short_hex = "9f213ff4a582fd65"
- long_hex = "0e0e03510b0b0b7dbba6e301e519693f68062121b29f3cd3a6652c238360d0d0"
- json_value = json.dumps({"ns": ["{0}".format(server), "ns1.web-sweet-web.net", "ns0.xname.org"]})
- first_json_value = json.dumps({"ns": ["ns0.web-sweet-web.net", "ns1.web-sweet-web.net", "ns0.xname.org"]})
- proc = subprocess.Popen(["namecoind name_update d/{0} '{1}'".format(name, json_value)] shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
- proc = subprocess.Popen(["namecoind name_firstupdate d/{0} {1} '{2}'".format(name, short_hex, first_json_value)] shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
- proc = subprocess.Popen(["namecoind name_firstupdate d/{0} {1} {2} '{3}'".format(domainName, short_hex, long_hex, json_value)] shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement