@fabcotech/dappy-cli
v18.0.0
Published
Command line interface to manage domains, subdomains and TLS certificates in the dappy name system
Readme
Dappy CLI
NodeJS utility to publish dapp and manage zone and records in the dappy name system
Commands and workflow are explained in the dappy documentation.
Commands
npx @fabcotech/dappy-cli init
npx @fabcotech/dappy-cli generateprivatekey
npx @fabcotech/dappy-cli printpublickeyChecking if dappy.config.json is up to date with remote blockchain (dappy network) state.
npx @fabcotech/dappy-cli statusUpdate all the zones that need to be updated
npx @fabcotech/dappy-cli pushGenerating key pairs (openssl must be installed)
# Generate a key pair (cert + key) for all hosts (A or AAAA) inside a domain
npx @fabcotech/dappy-cli generatecerts --domain example.gamma
# Generate a key pair (cert + key) for arbitrary hosts
npx @fabcotech/dappy-cli generatecerts --hosts example.gamma+foo.example.gamma+another.gammaApply a CERT record to dappy.config.json.
# Apply to all hosts (A or AAAA record) inside a domain
npx @fabcotech/dappy-cli apply --cert group1.crt --domain example.gamma
# Apply to specific hosts
npx @fabcotech/dappy-cli apply --cert group1.crt --hosts example.gamma+foo.example.gamma+another.gamma