
Company News
Socket Has Acquired Secure Annex
Socket has acquired Secure Annex to expand extension security across browsers, IDEs, and AI tools.
@dainprotocol/cli
Advanced tools
A command-line interface tool for the DAIN Protocol service sdks.
Install globally:
bun add -g @dainprotocol/cli
For detailed documentation, usage guides, and additional information, please visit: https://docs.dain.org
dain --help
dain init <project-name>
The following commands require a dain.json file to be present in the root of the project with the following structure:
{
"out-dir": "your-build-output-directory(build/dist)",
"main-file": "your-main-file.(ts/js)",
"runtime": "bun",
"deployment-id": "your deploymentId that you will have after the deploy",
"api-key": "your-api-key"
}
dain build
dain dev
An .env file must be present in the root of the project with the following variables:
DAIN_API_KEY=your_api_key
To deploy the project, run the following command:
dain deploy
dain status
dain logs [-w|--watch]
The -w or --watch parameter allows you to monitor logs in real time.
dain undeploy
FAQs
CLI for Dain Protocol
The npm package @dainprotocol/cli receives a total of 197 weekly downloads. As such, @dainprotocol/cli popularity was classified as not popular.
We found that @dainprotocol/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket has acquired Secure Annex to expand extension security across browsers, IDEs, and AI tools.

Research
/Security News
Socket is tracking cloned Open VSX extensions tied to GlassWorm, with several updated from benign-looking sleepers into malware delivery vehicles.

Product
Reachability analysis for PHP is now available in experimental, helping teams identify which vulnerabilities are actually exploitable.