namecoin name update from json file

Post Reply
JZA
Posts: 18
Joined: Sat Mar 19, 2016 1:30 pm

namecoin name update from json file

Post by JZA »

is there a way I can register a .bit from a json file, meaning namecoin-cli first_update d/name name.json?

biolizard89
Posts: 2001
Joined: Tue Jun 05, 2012 6:25 am
os: linux

Re: namecoin name update from json file

Post by biolizard89 »

JZA wrote:is there a way I can register a .bit from a json file, meaning namecoin-cli first_update d/name name.json?
Maybe something like this?

Code: Select all

namecoin-cli first_update d/name `cat name.json`
(Might run into issues if the JSON has whitespace in it; usage of quoting would probably fix that. I haven't tested this; use it at your own risk.)
Jeremy Rand, Lead Namecoin Application Engineer
NameID: id/jeremy
DyName: Dynamic DNS update client for .bit domains.

Donations: BTC 1EcUWRa9H6ZuWPkF3BDj6k4k1vCgv41ab8 ; NMC NFqbaS7ReiQ9MBmsowwcDSmp4iDznjmEh5

Post Reply