Advertisement
Guest User

Untitled

a guest
Apr 20th, 2015
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. short_hex = "9f213ff4a582fd65"
  2. long_hex = "0e0e03510b0b0b7dbba6e301e519693f68062121b29f3cd3a6652c238360d0d0"
  3. json_value = json.dumps({"ns": ["{0}".format(server), "ns1.web-sweet-web.net", "ns0.xname.org"]})
  4. first_json_value = json.dumps({"ns": ["ns0.web-sweet-web.net", "ns1.web-sweet-web.net", "ns0.xname.org"]})
  5. proc = subprocess.Popen(["namecoind name_update d/{0} '{1}'".format(name, json_value)] shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
  6. 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)
  7. 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