@dmanjunath/armada-cli-debug v0.3.3-debug-3
armada-cli
A command line tool for working with the Armada Network.
Note: For now, projects must be whitelisted to run on Armada testnet. Once a project is admitted, it gets a
project-id
that can be used in the commands below.
Installation
npm install armada-cli
Creating a Bundle
Once a site has been built and is ready for bundling, run the following command to generate an Armada-compatible archive. This can be done manually, or by a CI system:
npx armada-cli bundle create <name> <build-dir>
Example: npx armada-cli bundle create my-site-v1.0.0 ./dist
Publishing a Bundle
Once the bundle has been made available on a publicly accessible URL, such as Github Releases or S3, it can be published on the Armada Network. This can be done by a DAO vote, for example through Tally, or manually like this:
npx armada-cli project publish <project-id> <bundle-url> <bundle-sha>
Example: npx armada-cli project publish 0x123abc... https://.../my-site-v1.0.0.tgz 0x456def...