@fabcotech/dappy-cli

18.0.0 • Public • Published

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.

docs.dappy.tech

Commands

npx @fabcotech/dappy-cli init
npx @fabcotech/dappy-cli generateprivatekey
npx @fabcotech/dappy-cli printpublickey

Checking if dappy.config.json is up to date with remote blockchain (dappy network) state.

npx @fabcotech/dappy-cli status

Update all the zones that need to be updated

npx @fabcotech/dappy-cli push

Generating 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.gamma

Apply 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

Package Sidebar

Install

npm i @fabcotech/dappy-cli

Weekly Downloads

0

Version

18.0.0

License

MIT

Unpacked Size

45.6 kB

Total Files

28

Last publish

Collaborators

  • popul
  • fabcotechraf