Hush Full Node software. We were censored from Github, this is where all development happens now. https://hush.is
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
556 B

#!/usr/bin/env python2
import os
import json
def format_param(param, value):
return '-' + param + '=' + value
script_dir = os.path.dirname(__file__)
with open(script_dir + '/assetchains.json') as file:
assetchains = json.load(file)
for chain in assetchains:
params = []
for param, value in chain.items():
if isinstance(value, list):
for dupe_value in value:
params.append(format_param(param, dupe_value))
else:
params.append(format_param(param, value))
print(' '.join(params))