
Security News
Packagist Urges Immediate Composer Update After GitHub Actions Token Leak
Packagist urges PHP projects to update Composer after a GitHub token format change exposed some GitHub Actions tokens in CI logs.
@dainprotocol/cli
Advanced tools
A command-line interface tool for the DAIN Protocol service sdks.
Install globally via npm:
npm install @dainprotocol/cli -g
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)",
"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 0 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.

Security News
Packagist urges PHP projects to update Composer after a GitHub token format change exposed some GitHub Actions tokens in CI logs.

Research
GemStuffer abuses RubyGems as an exfiltration channel, packaging scraped UK council portal data into junk gems published from new accounts.

Company News
Socket was named to the Rising in Cyber 2026 list, recognizing 30 private cybersecurity startups selected by CISOs and security executives.